Updated Notify_telegram (markdown)

Chris Caron 2023-06-02 08:45:58 -04:00
parent 1a4b790104
commit 67a134f67b

@ -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/
```
```
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
```