atipugin / telegram-bot-ruby

Ruby wrapper for Telegram's Bot API
https://core.telegram.org/bots/api
Do What The F*ck You Want To Public License
1.35k stars 218 forks source link

How to delete `message`? #232

Closed brauliobo closed 3 years ago

brauliobo commented 3 years ago

After sending the requested information back to the group, I want to delete the original message received through #listen.

How to delete a message from its object?

brauliobo commented 3 years ago

through bot.api.delete_message as in https://core.telegram.org/bots/api#deletemessage