
Python
- 7 ответов
- 0 вопросов
2
Вклад в тег
buttons = db.get_main_buttons()
k = types.ReplyKeyboardMarkup()
for b in buttons:
k.add(types.KeyboardButton(b))
bot.send_message(message.chat.id, "TEXT", reply_markup=k)
[['MENU', 'go_to_menu'], ['Settings', 'go_to_settings']]