2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 21:38:04 +00:00

Update inline_query_result_photo.py

This commit is contained in:
Dan 2019-08-23 11:52:12 +02:00 committed by GitHub
parent a829f74a16
commit 2031df15fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,7 @@ class InlineQueryResultPhoto(InlineQueryResult):
if self.input_message_content
else types.InputBotInlineMessageMediaAuto(
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)
)
)
)