mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-18 05:30:15 +00:00
Add missing await keyword
This commit is contained in:
parent
df0de0c85a
commit
8dfa80ef61
@ -896,7 +896,7 @@ async def parse_callback_query(client, update, users):
|
|||||||
else:
|
else:
|
||||||
peer_id = int("-100" + str(peer.channel_id))
|
peer_id = int("-100" + str(peer.channel_id))
|
||||||
|
|
||||||
message = client.get_messages(peer_id, update.msg_id)
|
message = await client.get_messages(peer_id, update.msg_id)
|
||||||
elif isinstance(update, types.UpdateInlineBotCallbackQuery):
|
elif isinstance(update, types.UpdateInlineBotCallbackQuery):
|
||||||
inline_message_id = b64encode(
|
inline_message_id = b64encode(
|
||||||
pack(
|
pack(
|
||||||
|
Loading…
Reference in New Issue
Block a user