I know how to use telegram commands and I know how to read which command was executed. I would like to do the following:
User: /send_address
Bot: Hello, please type your address..
User: my address...
so far I can read the command / send _address and answer "hello, ....", and obviously I can also read the user's response, just like I read the command / send _address. The question is, how do I know if he answers my query "hello, please enter your address .." or if he sent it just because? I could have 100 users chatting with the bot, do I need to store a variable for each user, remembering that he sent / send _address cmd?
source
share