And according to what the user chooses in the second query, one number will be displayed.
I wrote the code above and I'll go to the second menu stage.
But after that, I do not know what to do, so the program proceeds according to the user's choice in the second menu
hi I want to run a query after another query.
` def on_chat_message(msg): content_type, chat_type, chat_id = telepot.glance(msg) keyboard = InlineKeyboardMarkup(inline_keyboard=[ [InlineKeyboardButton(text='ISO', callback_data='iso')], [InlineKeyboardButton(text='MAKRO', callback_data='makro')],
]) bot.sendMessage(chat_id, 'please select one', reply_markup=keyboard)
def menu(msg): query_id, from_id, query_data = telepot.glance(msg, flavor='callback_query')
bot = telepot.Bot(TOKEN) MessageLoop(bot, {'chat': on_chat_message, 'callback_query': menu}).run_as_thread()
`
And according to what the user chooses in the second query, one number will be displayed.
I wrote the code above and I'll go to the second menu stage. But after that, I do not know what to do, so the program proceeds according to the user's choice in the second menu