feat(alerting): Support sending messages to Telegram topics in group (#928)
* feat(alerting): Added the ability to send messages to Telegram topics in groups. * feat(alerting): Added the ability to send messages to Telegram topics in groups. fix tests * feat(alerting): Added the ability to send messages to Telegram topics in groups. Rename TopicId to TopicID * feat(alerting): Added the ability to send messages to Telegram topics in groups. Fixed description for alerting.telegram.topic-id in README.md --------- Co-authored-by: TwiN <twin@linux.com>
This commit is contained in:
@@ -1551,6 +1551,7 @@ Here's an example of what the notifications look like:
|
||||
| `alerting.telegram` | Configuration for alerts of type `telegram` | `{}` |
|
||||
| `alerting.telegram.token` | Telegram Bot Token | Required `""` |
|
||||
| `alerting.telegram.id` | Telegram User ID | Required `""` |
|
||||
| `alerting.telegram.topic-id` | Telegram Topic ID in a group corresponds to `message_thread_id` in the Telegram API | `""` |
|
||||
| `alerting.telegram.api-url` | Telegram API URL | `https://api.telegram.org` |
|
||||
| `alerting.telegram.client` | Client configuration. <br />See [Client configuration](#client-configuration). | `{}` |
|
||||
| `alerting.telegram.default-alert` | Default alert configuration. <br />See [Setting a default alert](#setting-a-default-alert) | N/A |
|
||||
@@ -1563,6 +1564,7 @@ alerting:
|
||||
telegram:
|
||||
token: "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11"
|
||||
id: "0123456789"
|
||||
topic-id: "7"
|
||||
|
||||
endpoints:
|
||||
- name: website
|
||||
|
||||
Reference in New Issue
Block a user