mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-23 02:17:21 +00:00
Dispatch inline bot callback queries
This commit is contained in:
parent
6238f984b4
commit
682a3ae948
@ -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:
|
||||
continue
|
||||
except Exception as e:
|
||||
|
Loading…
x
Reference in New Issue
Block a user