Answer the question
In order to leave comments, you need to log in
How to make time check in telegram bot in python?
And so, there is a bot, it collects data through questionnaires. How to make it so that if the user started filling out the questionnaire, but did not finish it, then 3 hours after the start he received a message - "Is everything ok? You did not completely fill out the questionnaire "
Answer the question
In order to leave comments, you need to log in
Hm. Alternatively, you can take asyncio tasks and implement them through them.
In my bot, this is how auto-messages are implemented.
https://docs.python.org/3/library/asyncio-task.htm...
https://docs.python.org/3/library/asyncio-task.htm... Submit
a form, create a Task object , who sleeps for 3 hours, after which he checks the questionnaire
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question