Python
0
Вклад в тег
update.message.reply_text('Please choose:', reply_markup=reply_markup)
bot.send_message(update.message.chat.id,'Please choose:', reply_markup=reply_markup)
def button(bot, update):
query = update.callback_query
# query.edit_message_text(text="Selected option: {}".format(query.data))
print(query)
bot.send_message(query.message.chat_id, str(query.data))