diff --git a/pyrogram/types/inline_mode/inline_query_result_animation.py b/pyrogram/types/inline_mode/inline_query_result_animation.py index bd0e7037..72c290f0 100644 --- a/pyrogram/types/inline_mode/inline_query_result_animation.py +++ b/pyrogram/types/inline_mode/inline_query_result_animation.py @@ -74,7 +74,7 @@ class InlineQueryResultAnimation(InlineQueryResult): id: str = None, title: str = None, description: str = None, - caption: str = None, + caption: str = "", parse_mode: Union[str, None] = object, reply_markup: "types.InlineKeyboardMarkup" = None, input_message_content: "types.InputMessageContent" = None diff --git a/pyrogram/types/inline_mode/inline_query_result_photo.py b/pyrogram/types/inline_mode/inline_query_result_photo.py index 7287abc0..6d6ae99d 100644 --- a/pyrogram/types/inline_mode/inline_query_result_photo.py +++ b/pyrogram/types/inline_mode/inline_query_result_photo.py @@ -74,7 +74,7 @@ class InlineQueryResultPhoto(InlineQueryResult): id: str = None, title: str = None, description: str = None, - caption: str = None, + caption: str = "", parse_mode: Union[str, None] = object, reply_markup: "types.InlineKeyboardMarkup" = None, input_message_content: "types.InputMessageContent" = None