mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 13:27:47 +00:00
Update inline_query_result_photo.py
This commit is contained in:
parent
a829f74a16
commit
2031df15fe
@ -121,7 +121,7 @@ class InlineQueryResultPhoto(InlineQueryResult):
|
|||||||
if self.input_message_content
|
if self.input_message_content
|
||||||
else types.InputBotInlineMessageMediaAuto(
|
else types.InputBotInlineMessageMediaAuto(
|
||||||
reply_markup=self.reply_markup.write() if self.reply_markup else None,
|
reply_markup=self.reply_markup.write() if self.reply_markup else None,
|
||||||
**(Parser(None)).parse(self.caption, self.parse_mode)
|
**await(Parser(None)).parse(self.caption, self.parse_mode)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user