S
S
Saraman2020-06-30 18:46:26
Python
Saraman, 2020-06-30 18:46:26

How to unpin an attachment from a message?

It is necessary that when the script is included, any attachment will be detached from the message. Be it music, videos, photos, etc.
I didn't know how to do it myself, please help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
cython, 2020-06-30
@Saraman

Try iterating over each message and not sending attachment in the edit method .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question