You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say, if the user delete's their message which called the bot to do some function, then the bot will also delete it's own message.
Directions/Approach
We'll put a condition, that if the user delete's their message, we check for the bot's MessageID for the text it displayed for the user , and then delete it.
First-time Contributors
If it is the first time that you contribute to the bot, follow these steps:
Write a comment in this issue thread to let other possible contributors know that you are working on this bug. For eg : Hey all, I would like to work on this issue., follow Contributing to the bot 🔥✨ and feel free to ask anything related to this issue ✌️
The text was updated successfully, but these errors were encountered:
How would I be able to get the list of previous command messages using the API? Then we can check if that previous command message returns nil, then we can have the bot delete it's own message that it responded to that specific delete command. Can't seem to find anything in GoDocs of telegram-go like message history or get message list or something.
New feature
Say, if the user delete's their message which called the bot to do some function, then the bot will also delete it's own message.
Directions/Approach
We'll put a condition, that if the user delete's their message, we check for the bot's MessageID for the text it displayed for the user , and then delete it.
First-time Contributors
If it is the first time that you contribute to the bot, follow these steps:
Write a comment in this issue thread to let other possible contributors know that you are working on this bug. For eg :
Hey all, I would like to work on this issue.
, follow Contributing to the bot 🔥✨ and feel free to ask anything related to this issue ✌️The text was updated successfully, but these errors were encountered: