From 67a134f67b0cfd8fe010511e5cc882426a25020e Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Fri, 2 Jun 2023 08:45:58 -0400 Subject: [PATCH] Updated Notify_telegram (markdown) --- Notify_telegram.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Notify_telegram.md b/Notify_telegram.md index ea85d4d..74251b7 100644 --- a/Notify_telegram.md +++ b/Notify_telegram.md @@ -67,6 +67,7 @@ If you want to see the icon/image associated with the notification, you can have | format | No | The default value of this is _text_. But if you plan on managing the format yourself, you can optionally set this to _markdown_ or _html_ as well. | silent | No | A `yes/no` flag allowing you to send the notification in a silent fashion. By default this is set to `no`. | preview | No | A `yes/no` flag allowing you to display webpage previews of your post. By default this is set to `no`. +| topic | No | The Topic Thread ID you wish your message to be posted to. [Here is a StackOverflow post on acquiring the Topic Thread ID](https://stackoverflow.com/questions/74773675/how-to-get-topic-id-for-telegram-group-chat) #### Example Send a telegram notification to lead2gold: @@ -75,4 +76,13 @@ Send a telegram notification to lead2gold: # Assuming the {chat_id} belonging to lead2gold is 12315544 apprise -vv -t "Test Message Title" -b "Test Message Body" \ tgram://123456789:abcdefg_hijklmnop/12315544/ -``` \ No newline at end of file +``` + +Got a specific topic you want to notify? +```bash +# Assuming our {bot_token} is 123456789:abcdefg_hijklmnop +# Assuming the {chat_id} belonging to lead2gold is 12315544 +# Assuming the {topic_id} is 1234567 +apprise -vv -t "Test Message Title" -b "Test Message Body" \ + tgram://123456789:abcdefg_hijklmnop/12315544/?topic=1234567 +```