D
D
diversant1232020-09-07 15:44:18
Bots
diversant123, 2020-09-07 15:44:18

How to transfer additional parameters in telegram bot message?

Hello, I ran into a problem, there is a bot in the telegram in PHP, and this is the situation: the bot asks a question_1 to the user, the user answers, then question_2, etc., the user writes the answers in text (not buttons), the question is how to understand which of the questions got an answer? In the viber api, everything is simple, there the message has a track_data parameter, which is then returned with the user's message. And what about telegram? I didn't find anything like it. There is only CallbackQuery, but it only works with buttons

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question