Answer the question
In order to leave comments, you need to log in
Sample code for bot tg?
You can throw off a piece of python code where there is a telegram bot, it has buttons, and you switch between them, and by clicking on a button, the user must send any data, and this data must be written to a variable. Preferably on the Aiogram library.
Answer the question
In order to leave comments, you need to log in
Such an example can be googled, but it will not suit you, you will still redo it.
It would be better to break your task into stages. And each of the stages is already to study the documentation and implement.
and by clicking on a button, the user must send any data, and this data must be written to a variable
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question