diff --git a/pyrogram/client/ext/utils.py b/pyrogram/client/ext/utils.py index 3dc78c60..f01a523c 100644 --- a/pyrogram/client/ext/utils.py +++ b/pyrogram/client/ext/utils.py @@ -896,7 +896,7 @@ async def parse_callback_query(client, update, users): else: 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): inline_message_id = b64encode( pack(