You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good afternoon, I'm faced with the problem of deleting posts from the channel and channel chat. The posts on the channel that need to be deleted are two photos and a caption for them. The bot does not delete the post completely; it only deletes the caption and one photo. I tried with three more photos, it only deletes the caption and one photo. The same thing happens in the channel chat. I tried deleting a post in two ways: await bot.delete_message(channel_id, message_id), await message.delete(), and all the same. At first I thought that the problem was that too many posts needed to be deleted at one time, but then I tried it with one post and nothing changed. And at the same time it does not throw any errors or exceptions. What needs to be done to completely delete a post with all photos? I would be grateful for your help!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Good afternoon, I'm faced with the problem of deleting posts from the channel and channel chat. The posts on the channel that need to be deleted are two photos and a caption for them. The bot does not delete the post completely; it only deletes the caption and one photo. I tried with three more photos, it only deletes the caption and one photo. The same thing happens in the channel chat. I tried deleting a post in two ways: await bot.delete_message(channel_id, message_id), await message.delete(), and all the same. At first I thought that the problem was that too many posts needed to be deleted at one time, but then I tried it with one post and nothing changed. And at the same time it does not throw any errors or exceptions. What needs to be done to completely delete a post with all photos? I would be grateful for your help!
Beta Was this translation helpful? Give feedback.
All reactions