mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Dispatch inline bot callback queries
This commit is contained in:
parent
6238f984b4
commit
682a3ae948
1 changed files with 8 additions and 0 deletions
|
|
@ -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…
Reference in a new issue