mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-06 15:14:52 +00:00
Fix captions being "None" for inline media results
This commit is contained in:
parent
f06562b73d
commit
15f504a91f
2 changed files with 2 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ class InlineQueryResultAnimation(InlineQueryResult):
|
||||||
id: str = None,
|
id: str = None,
|
||||||
title: str = None,
|
title: str = None,
|
||||||
description: str = None,
|
description: str = None,
|
||||||
caption: str = None,
|
caption: str = "",
|
||||||
parse_mode: Union[str, None] = object,
|
parse_mode: Union[str, None] = object,
|
||||||
reply_markup: "types.InlineKeyboardMarkup" = None,
|
reply_markup: "types.InlineKeyboardMarkup" = None,
|
||||||
input_message_content: "types.InputMessageContent" = None
|
input_message_content: "types.InputMessageContent" = None
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ class InlineQueryResultPhoto(InlineQueryResult):
|
||||||
id: str = None,
|
id: str = None,
|
||||||
title: str = None,
|
title: str = None,
|
||||||
description: str = None,
|
description: str = None,
|
||||||
caption: str = None,
|
caption: str = "",
|
||||||
parse_mode: Union[str, None] = object,
|
parse_mode: Union[str, None] = object,
|
||||||
reply_markup: "types.InlineKeyboardMarkup" = None,
|
reply_markup: "types.InlineKeyboardMarkup" = None,
|
||||||
input_message_content: "types.InputMessageContent" = None
|
input_message_content: "types.InputMessageContent" = None
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue