ba0f3 / telebot.nim

Async Telegram Bot API Client implement in @Nim-Lang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deleting messages?

Michal-Szczepaniak opened this issue · comments

Is it possible to delete message? i tried to use deleteMessage but it caused whole bot to freeze and nothing more.

yes, you can delete messages. make sure your bot has permission to do it

but is the deleteMessage correct funcion? it seems to freeze my whole bot

Can you show me your code? deleteMessage api works fine for me https://github.com/ba0f3/telebot.nim/blob/master/examples/delete_message.nim

How do you check though if bot have delete permissions? it's not included in example

Thank you!