F
F
floomyz2021-01-14 18:03:15
Telegram
floomyz, 2021-01-14 18:03:15

How to store the data entered by the user into a variable?

I am writing a chat bot for a telegram on Python, the essence of the question is this: the bot has a reply button, when the user presses the button, the bot asks to enter a phone number. How to write what he entered into a variable?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2021-01-14
@soremix

Remember the current state of the person, namely that the next message will be a phone number, well, process it yourself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question