Answer the question
In order to leave comments, you need to log in
How to generate a row of 3 inline aiogram buttons?
Registered adding an inline button (product to the store through the button)
def btn_orders():
keys = []
for item in retrun_items():
data = item[0]
keys.append([InlineKeyboardButton(text=item[1], callback_data=f'order_{data}')])
return InlineKeyboardMarkup(inline_keyboard=keys)
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