mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
InputMessageContent.write is a coroutine
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
08248222bb
commit
344256d92b
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ class InlineQueryResultAnimation(InlineQueryResult):
|
||||||
thumb=thumb,
|
thumb=thumb,
|
||||||
content=animation,
|
content=animation,
|
||||||
send_message=(
|
send_message=(
|
||||||
self.input_message_content.write(client, self.reply_markup)
|
await self.input_message_content.write(client, self.reply_markup)
|
||||||
if self.input_message_content
|
if self.input_message_content
|
||||||
else raw.types.InputBotInlineMessageMediaAuto(
|
else raw.types.InputBotInlineMessageMediaAuto(
|
||||||
reply_markup=await self.reply_markup.write(client) if self.reply_markup else None,
|
reply_markup=await self.reply_markup.write(client) if self.reply_markup else None,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue