I want to request a location when clicking inline button, I do not know how
def options(bot, update): query = update.callback_query chat_id = query.message.chat_id option = str(query.data) text = "" if option == "wakeup": #ΠΠ°Π΄ΠΎ Π·Π°ΠΏΡΠΎΡΠΈΡΡ Π»ΠΎΠΊΠ°ΡΠΈΡ ΠΊΠ»ΠΈΠ΅Π½ΡΠ° ΠΈ ΠΏΠΎΠ»ΡΡΠΈΡΡ Π² ΡΡΠΎΠΉ ΡΡΠ½ΠΊΡΠΈΠΈ #Π ΠΎΠ±ΡΠ°Π±ΠΎΡΠ°ΡΡ Π»ΠΎΠΊΠ°ΡΠΈΡ Π² Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ ΠΎΠΏΡΠΈΠΈ(query.data) pass bot.edit_message_text(chat_id=query.message.chat_id, message_id=query.message.message_id, text=str(option), reply_markup=first_menu_keyboard()) def first_menu_keyboard(): keyboard = [[InlineKeyboardButton('#wakeup', callback_data='wakeup')], [InlineKeyboardButton('#reading', callback_data='reading')], [InlineKeyboardButton('#exercise', callback_data='exercise')]] return InlineKeyboardMarkup(keyboard) dispatcher.add_handler(CallbackQueryHandler(options, pattern='wakeup')) dispatcher.add_handler(CallbackQueryHandler(options, pattern='reading')) dispatcher.add_handler(CallbackQueryHandler(options, pattern='exercise'))