Answer the question
In order to leave comments, you need to log in
How to make the vk_api bot delete its last messages after 10 minutes?
There is a bot that sends notifications to users, how to make the message be deleted from everyone after a certain time?
self.write_msg(id, "Результат не найден, попробуйте ещё раз.")
Answer the question
In order to leave comments, you need to log in
To delete a message through this method , you need an attached user webhook, through which you will find out the ID of the message that you want to delete.
And, accordingly, after that, install cron and simply use this method with sending the message IDs that you received from the webhook.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question