Tell me how to implement the processing of messages? For example:
1. I write "/ test"
2. bot responds "How much?"
3. I write, for example, "400"
4. Bot responds "Yes"
5. writing "/ test2"
6. bot responds "How much?"
7. I write, for example "400"
8. Bot responds "No"
In general, depending on what the original command was (/ test or / test2), the bot "400" will process my answer in different ways.
|
ForceReply
. That is, for example, not "How much?", But "How much for test?". Then it will be possible to understand which question the user answers. If this option is not suitable, then you probably have to store the state. - AnatolCallBackQuery
- Tarasovych