Browse Source

added message thread id for notification to the chat topic

pull/6083/head
Илья Никитин 2 months ago
parent
commit
8963dbb135
  1. 1
      notify/telegram.sh

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

Loading…
Cancel
Save