如何捕获从types.InlineQueryResultArticle发送的callback_data?

时间:2018-10-25 09:42:12

标签: python-3.x python-telegram-bot

`types.InlineQueryResultArticle(id=str(offset + index), title=shop.name,
                           description="({})\n{}".format(shop.name, shop.address),
                           input_message_content=types.InputTextMessageContent(
                           message_text="# {}\n {}\n Рейтинг - {}".format(
                           shop.name, shop.address, shop.get_rating(shop.id))),
                           reply_markup=shop_result_btns(shop)))` 

发送完answer_inline_query()后,我无法捕获InlineQueryResultArticle@bot.callback_query_handler(func=lambda call: True)中来自reply_markup的回调。 也许有人可以告诉我该如何捕捉?

0 个答案:

没有答案