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:
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:
|
else:
|
||||||
continue
|
continue
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user