M
M
mandico2021-02-17 05:58:09
Python
mandico, 2021-02-17 05:58:09

How to bind several actions to one inline button?

Good afternoon, the question arose, how to bind several functions to one inline button?
for example
1. Text with information
"Next"
2. Text with information 2 (appears after pressing the button next)
"Next"
3. Text with information 3
"Next"
4 and so on

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex K, 2021-02-17
@alexk111

1. We send a message with a button (in its data we indicate that this is the button of the 1st message)
2. After clicking, we edit the message and the button, substituting new text and button data that will correspond to the next step

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question