mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +00:00
Fix inline_query_parser in asyncio branch
This commit is contained in:
parent
9100a43f7b
commit
ad49e72f02
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue