mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-01 05:04:51 +00:00
Fix callback query id not being a string
This commit is contained in:
parent
901b151718
commit
656e5036c1
1 changed files with 1 additions and 1 deletions
|
|
@ -801,7 +801,7 @@ def parse_callback_query(client, callback_query, users):
|
|||
peer_id = int("-100" + str(peer.channel_id))
|
||||
|
||||
return pyrogram_types.CallbackQuery(
|
||||
id=callback_query.query_id,
|
||||
id=str(callback_query.query_id),
|
||||
from_user=parse_user(users[callback_query.user_id]),
|
||||
message=client.get_messages(peer_id, callback_query.msg_id),
|
||||
chat_instance=str(callback_query.chat_instance),
|
||||
|
|
|
|||
Loading…
Reference in a new issue