From 2819ac811f79e81733b4da1fe07efad2354f5109 Mon Sep 17 00:00:00 2001 From: Lucas Gasenzer Date: Fri, 13 Dec 2024 08:36:53 +0100 Subject: [PATCH] document topic_id --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 20a92ae..ab4907b 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you encounter any issues, please feel free to contribute by fixing them and o docker run -d \ --env TELEGRAM_NOTIFIER_BOT_TOKEN=token \ --env TELEGRAM_NOTIFIER_CHAT_ID=chat_id \ - --env TELEGRAM_NOTIFIER_THREAD_ID=thread_id \ + --env TELEGRAM_NOTIFIER_TOPIC_ID=topic_id \ --volume /var/run/docker.sock:/var/run/docker.sock:ro \ --hostname my_host \ lorcas/docker-telegram-notifier @@ -38,8 +38,10 @@ If you encounter any issues, please feel free to contribute by fixing them and o environment: # How to create bot: https://core.telegram.org/bots#3-how-do-i-create-a-bot # How to get chat id: https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/32572159#32572159 - TELEGRAM_NOTIFIER_BOT_TOKEN: + TELEGRAM_NOTIFIER_BOT_TOKEN: TELEGRAM_NOTIFIER_CHAT_ID: + # One of the following two can be used, but not both + TELEGRAM_NOTIFIER_TOPIC_ID: TELEGRAM_NOTIFIER_THREAD_ID: # optional args # ONLY_WHITELIST: true