diff --git a/pyrogram/client/types/inline_mode/inline_query_result.py b/pyrogram/client/types/inline_mode/inline_query_result.py index ef26eacc..d44a5ee2 100644 --- a/pyrogram/client/types/inline_mode/inline_query_result.py +++ b/pyrogram/client/types/inline_mode/inline_query_result.py @@ -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