From ebaa23a32d5d9005786eea7d199aef0e101c3cb9 Mon Sep 17 00:00:00 2001 From: Pavel Muhortov Date: Sat, 6 Jan 2024 07:56:43 +0300 Subject: [PATCH] fix telegram url building --- cctv-scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cctv-scheduler.py b/cctv-scheduler.py index a719b2b..05683dd 100644 --- a/cctv-scheduler.py +++ b/cctv-scheduler.py @@ -2865,7 +2865,7 @@ class Telegram: chat = chat.split('_')[0] url = self.api_path + '/send' + media_type + '?chat_id=' + chat if thrd: - url = url + '?message_thread_id=' + thrd + url = url + '&message_thread_id=' + thrd else: raise ValueError("'media_type' value is wrong: " + media_type)