Closed KisielewskiTomek closed 6 years ago
There can be no method that can do that since the Telegram Bot API itself does not support it, as referenced here: https://core.telegram.org/bots/api#deletemessage
It's not good news :-( I know method #deletetemessage from BOT API :-) but I need to delete messages in private channels older then 48 h. But it is impossible - return json from Telegram: {"ok":false,"error_code":400,"description":"Bad Request: message can't be deleted"}
Is there any method to remove a message older than 48 hours using a bot?