2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-24 10:58:29 +00:00

Dispatch inline bot callback queries

This commit is contained in:
Dan 2018-06-06 12:29:21 +02:00
parent 6238f984b4
commit 682a3ae948

View File

@ -169,6 +169,14 @@ class Dispatcher:
) )
) )
) )
elif isinstance(update, types.UpdateInlineBotCallbackQuery):
self.dispatch(
pyrogram.Update(
callback_query=utils.parse_inline_callback_query(
update, users
)
)
)
else: else:
continue continue
except Exception as e: except Exception as e: