From 0def9e7f47609cbe849bc5e739d9f1a9be82be6d Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Wed, 3 Jul 2024 21:56:10 +0700 Subject: [PATCH] Update main.py --- main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/main.py b/main.py index 0802669..a28aa76 100644 --- a/main.py +++ b/main.py @@ -11,7 +11,6 @@ client = TelegramClient(phone, api_id, api_hash) @client.on(events.NewMessage(chats=[source_group_id])) async def forward_message(event): try: - # Forward the message to the target group await client.forward_messages(target_group_id, event.message) except Exception as e: print(f"Exception on forward_message: {str(e)}")