From aec277de5d4697c6ee380041d894aab32e51138d Mon Sep 17 00:00:00 2001 From: mroik Date: Wed, 22 Sep 2021 17:42:25 +0200 Subject: [PATCH] Made messages silent --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index efbd1d0..40f5e93 100644 --- a/main.py +++ b/main.py @@ -82,7 +82,7 @@ def main(): print("Sending", section[1]) while True: try: - chat.send_media_group(send_group) # Sometimes it raises a BadRequest not sure why + chat.send_media_group(send_group, disable_notification=True) # Sometimes it raises a BadRequest not sure why break except RetryAfter as e: sleep(e.retry_after + 2)