added message thread id for notification to the chat topic

This commit is contained in:
Илья Никитин 2024-11-06 14:40:01 +03:00
parent d4b8f9700b
commit 8963dbb135

View File

@ -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\"}"