mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-17 21:22:40 +00:00
Fix inline_query_parser in asyncio branch
This commit is contained in:
parent
9100a43f7b
commit
ad49e72f02
@ -74,7 +74,7 @@ class Dispatcher:
|
|||||||
return pyrogram.UserStatus._parse(self.client, update.status, update.user_id), UserStatusHandler
|
return pyrogram.UserStatus._parse(self.client, update.status, update.user_id), UserStatusHandler
|
||||||
|
|
||||||
async def inline_query_parser(update, users, chats):
|
async def inline_query_parser(update, users, chats):
|
||||||
return pyrogram.InlineQuery._parse(self.client, update.status, update.user_id), UserStatusHandler
|
return pyrogram.InlineQuery._parse(self.client, update, users), InlineQueryHandler
|
||||||
|
|
||||||
self.update_parsers = {
|
self.update_parsers = {
|
||||||
Dispatcher.MESSAGE_UPDATES: message_parser,
|
Dispatcher.MESSAGE_UPDATES: message_parser,
|
||||||
|
Loading…
Reference in New Issue
Block a user