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.
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.