The restrictions on the ability of a bot to delete messages via deleteMessages are completely ridiculous. First of all, it makes no sense that a bot should have ANY additional restrictions besides those that affect a human being with the exact same permissions. That is, if a human administrator can manually delete something in a chat, there's no reason why a bot that is also an administrator with the exact same administrator rights, couldn't delete the same message. But even if we accept the weird idea that a bot should have additional restrictions, the fact that it cannot delete EVEN ITS OWN MESSAGES after a given amount of time is just absurd.
By the way, note that even though the bot cannot delete an old message, it _can_ edit it and replace all the text with a basically empty text (not truly empty, but a mere "-" or something) and/or replace any photo with a placeholder, etc. So, whatever questionable reason was behind the decision to restrict the ability to delete, it's completely pointless .
Log in here to report bugs or suggest features. Please enter your phone number in the international format and we will send a confirmation message to your account via Telegram.
.