I'm using telebot in python to start a conversation with the user and then ask some questions, the problem is that after running the script again, the bot listens for messages sent before the script was executed. Is there any way to make the bot filter only for messages sent in the last 10 minutes or something?
I'm using telebot in python to start a conversation with the user and then ask some questions, the problem is that after running the script again, the bot listens for messages sent before the script was executed. Is there any way to make the bot filter only for messages sent in the last 10 minutes or something?