mirror of
https://github.com/Xtao-Labs/iShotaBot.git
synced 2024-11-24 00:31:30 +00:00
🐛 Fix parse animation
This commit is contained in:
parent
b17e4069ee
commit
81b72d488a
@ -47,7 +47,6 @@ async def send_single_tweet(reply: Reply, media: FixTweetMedia, text: str, butto
|
|||||||
await bot.send_animation(
|
await bot.send_animation(
|
||||||
reply.cid,
|
reply.cid,
|
||||||
media.url,
|
media.url,
|
||||||
quote=True,
|
|
||||||
caption=text,
|
caption=text,
|
||||||
reply_markup=button,
|
reply_markup=button,
|
||||||
reply_to_message_id=reply.mid,
|
reply_to_message_id=reply.mid,
|
||||||
@ -56,7 +55,6 @@ async def send_single_tweet(reply: Reply, media: FixTweetMedia, text: str, butto
|
|||||||
await bot.reply_document(
|
await bot.reply_document(
|
||||||
reply.cid,
|
reply.cid,
|
||||||
media.url,
|
media.url,
|
||||||
quote=True,
|
|
||||||
caption=text,
|
caption=text,
|
||||||
reply_markup=button,
|
reply_markup=button,
|
||||||
reply_to_message_id=reply.mid,
|
reply_to_message_id=reply.mid,
|
||||||
|
Loading…
Reference in New Issue
Block a user