How to make bot read the text after bot asked user to write something? #436
-
Example: I know about handleChatMessage, but this works after every non-command message. I need this to work only when bot asks user to write. |
Beta Was this translation helpful? Give feedback.
Answered by
fabio-ivona
Nov 16, 2023
Replies: 2 comments 1 reply
-
Hi, there's not a straight way to do this, you should track the conversation status (maybe using telegraph storage) and retrieve it when you receive a message from that user |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
msvetofor
-
|
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, there's not a straight way to do this, you should track the conversation status (maybe using telegraph storage) and retrieve it when you receive a message from that user