2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-27 20:37:54 +00:00

Always cast inline query ids to string

This commit is contained in:
Dan 2019-08-06 01:02:41 +02:00
parent b1c63c18d6
commit 82e0087def

View File

@ -63,7 +63,7 @@ class InlineQueryResult(Object):
super().__init__() super().__init__()
self.type = type self.type = type
self.id = str(uuid4()) if id is None else id self.id = str(uuid4()) if id is None else str(id)
self.input_message_content = input_message_content self.input_message_content = input_message_content
self.reply_markup = reply_markup self.reply_markup = reply_markup