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__()
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.reply_markup = reply_markup