Closed AntonNosovich closed 6 months ago
You should listen for a reply in a webook
You should listen for a reply in a webook
I can get each message ,but I need get only reply on bot message
Telegram is stateless, but you could keep track of the conversation status using telegraph internal storage system, eg.
Send your message
Record 'waiting for reply from user X'
Listen for incoming messages for a message from user X, checking his id against your stored one
Handle the message and delete the storage record
How get answer on this message