1 parent 901b151 commit 656e503Copy full SHA for 656e503
1 file changed
pyrogram/client/ext/utils.py
@@ -801,7 +801,7 @@ def parse_callback_query(client, callback_query, users):
801
peer_id = int("-100" + str(peer.channel_id))
802
803
return pyrogram_types.CallbackQuery(
804
- id=callback_query.query_id,
+ id=str(callback_query.query_id),
805
from_user=parse_user(users[callback_query.user_id]),
806
message=client.get_messages(peer_id, callback_query.msg_id),
807
chat_instance=str(callback_query.chat_instance),
0 commit comments