Fix captions being "None" for inline media results
This commit is contained in:
parent
f06562b73d
commit
15f504a91f
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user