Answer the question
In order to leave comments, you need to log in
How to make a multilevel button in a telegram bot in Python?
def start(m):
keyboard = types.ReplyKeyboardMarkup(resize_keyboard=True)
keyboard.add(*[types.KeyboardButton(name) for name in ['Stocks', 'News', 'Order']])
keyboard.add( *[types.KeyboardButton(name) for name in ['Location']])
how to make it so that when you click on "Promotions", you get to the menu of several more buttons?
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