mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 14:04: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:
|
else:
|
||||||
continue
|
continue
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue