From 62ab10f0cce4bdb4b636d9209e9b843b1443c4a8 Mon Sep 17 00:00:00 2001 From: 5hojib Date: Wed, 18 Sep 2024 23:27:17 +0600 Subject: [PATCH] update telegram_uploader.py --- bot/helper/mirror_leech_utils/telegram_uploader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/helper/mirror_leech_utils/telegram_uploader.py b/bot/helper/mirror_leech_utils/telegram_uploader.py index 416a179d3..98b1d92bc 100644 --- a/bot/helper/mirror_leech_utils/telegram_uploader.py +++ b/bot/helper/mirror_leech_utils/telegram_uploader.py @@ -458,7 +458,7 @@ async def _copy_message(self): async def copy(target, retries=2): for attempt in range(retries): try: - await msg.copyf(target) + await msg.copy(target) return except Exception as e: LOGGER.error(f"Attempt {attempt + 1} failed: {e} {msg.id}")