Telegram Bot How to delete or remove a message or media from a channel or group

Ebrahim picture Ebrahim · Feb 8, 2016 · Viewed 82.6k times · Source

I want to know an example of removing message or file like a photo

I did not find any functional tutorial in this regard,

Answer

ihoru picture ihoru · Feb 8, 2016

There is no such functionality in Telegram Bot API right now.

UPD 2017-05-19: There is an official method deleteMessage, more info: https://core.telegram.org/bots/api#deletemessage

https://stackoverflow.com/a/43965602/1140438