From 8963dbb135b5c6ed43e6b9ac735bb9d60558ad7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D1=8C=D1=8F=20=D0=9D=D0=B8=D0=BA=D0=B8=D1=82?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Wed, 6 Nov 2024 14:40:01 +0300 Subject: [PATCH] added message thread id for notification to the chat topic --- notify/telegram.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/notify/telegram.sh b/notify/telegram.sh index cca8ee25..232424a6 100644 --- a/notify/telegram.sh +++ b/notify/telegram.sh @@ -32,6 +32,7 @@ telegram_send() { _content="$(printf "*%s*\n%s" "$_subject" "$_content" | _json_encode)" _data="{\"text\": \"$_content\", " _data="$_data\"chat_id\": \"$TELEGRAM_BOT_CHATID\", " + _data="$_data\"message_thread_id\": \"$TELEGRAM_MESSAGE_THREAD_ID\", " _data="$_data\"parse_mode\": \"MarkdownV2\", " _data="$_data\"disable_web_page_preview\": \"1\"}"