🐛 Fix parse animation

This commit is contained in:
xtaodada 2023-10-02 16:51:46 +08:00
parent b17e4069ee
commit 81b72d488a
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -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,