AlertmanagerConfig.spec.receivers.telegramConfigs
telegramConfigs defines the list of Telegram configurations.
| Field / Type | Description |
|---|---|
apiURL | apiURL defines the Telegram API URL, e.g. https://api.telegram.org. If not specified, the default Telegram API URL will be used.
|
botToken defines the Telegram bot token. It is mutually exclusive with `botTokenFile`. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator. Either `botToken` or `botTokenFile` is required.
| |
botTokenFile | botTokenFile defines the file to read the Telegram bot token from. It is mutually exclusive with `botToken`. Either `botToken` or `botTokenFile` is required. It requires Alertmanager >= v0.26.0. |
chatID | chatID defines the Telegram chat ID where messages will be sent. This can be a user ID, group ID, or channel ID (with @ prefix for public channels).
|
disableNotifications | disableNotifications controls whether Telegram notifications are sent silently. When true, users will receive the message without notification sounds. |
httpConfig defines the HTTP client configuration for Telegram API requests. | |
message | message defines the message template for the Telegram notification. This is the content that will be sent to the specified chat. |
messageThreadID | messageThreadID defines the Telegram Group Topic ID for threaded messages. This allows sending messages to specific topics within Telegram groups. It requires Alertmanager >= 0.26.0.
|
parseMode | parseMode defines the parse mode for telegram message formatting. Valid values are "MarkdownV2", "Markdown", and "HTML". This determines how text formatting is interpreted in the message.
|
sendResolved | sendResolved defines whether or not to notify about resolved alerts. |