Answer the question
In order to leave comments, you need to log in
How to add a command to the telegram bot button?
The essence of the question is as follows, there is a /go command and there is a button to make a deal. How to combine a command and a button so that when clicked, the /go command is executed.
@bot.message_handler(commands=['go'])
def menu(message):
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question