From 9257ee14b4e59cbcb9c9dbf1dc9cdc6650ae1691 Mon Sep 17 00:00:00 2001 From: emoboy-man <84627196+emoboy-man@users.noreply.github.com> Date: Sun, 30 May 2021 23:05:52 +0530 Subject: [PATCH] Update rename_file.py caption = media.caption --- plugins/rename_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/rename_file.py b/plugins/rename_file.py index 83716cf..0309465 100644 --- a/plugins/rename_file.py +++ b/plugins/rename_file.py @@ -148,7 +148,7 @@ async def rename_doc(bot, message): chat_id=message.chat.id, document=new_file_name, thumb=thumb_image_path, - caption=description, + caption=caption, # reply_markup=reply_markup, reply_to_message_id=message.reply_to_message.message_id, progress=progress_for_pyrogram,