Replies: 1 comment 1 reply
-
Code. I'd recommend using states though. Sorry for long response. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all.
I need to make Next step handler to not really register the Next step unless the user id is the same as the first message.
In a group, if I start the command but a different message arrives in between the command and my response, the bot gets that message as a response.
Tried to filter by if message.user_from.id != Id but It only handles the first message. So if the first message is ignored, the handler stops working and the Next message is not being registered...
Any help?
Maybe something like stop until a message from id arrives, but dont know how to do It.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions