How to delete all previous messages in chat with the user? #2273
Unanswered
TimurNurlygayanov
asked this question in
Q&A
Replies: 1 comment 1 reply
-
See here, i.e. there is no way to clear a complete chat via the bot API. Even if you kept track of all message IDs sent in that chat manually, you can only detele messages up to 48hs. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Desired behavior:
When a user uses /start, the bot should delete all previous messages in the chat and start the new conversation
But it is not clear how to do this with python-telegram-bot library
Beta Was this translation helpful? Give feedback.
All reactions