mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +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,
|
||||
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 a new issue