A
A
Aztart2021-04-01 11:10:36
Bots
Aztart, 2021-04-01 11:10:36

How to catch a bot stop by a user in telegram?

How to implement stop/delete history/delete chat by a user in a Python chatbot?
It is necessary to create a function for deleting user data from the database.
I use aiogram.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aztart, 2021-05-17
@Aztart

Found. No way. Just create a repository for the id messages of the bot's messages to the user, and the "Unsubscribe" command, which deletes all these messages and the user from the database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question