ConfigurationTriggersTelegram
Telegram
The telegram trigger lets you send realtime notifications using Telegram bots.

The telegram trigger lets you send realtime notifications using Telegram bots.
Variables
| Env var | Required | Description | Supported values | Default value when missing |
|---|---|---|---|---|
DD_TRIGGER_TELEGRAM_{trigger_name}_BOTTOKEN | 🔴 | The Bot token | ||
DD_TRIGGER_TELEGRAM_{trigger_name}_CHATID | 🔴 | The Chat ID | ||
DD_TRIGGER_TELEGRAM_{trigger_name}_DISABLETITLE | ⚪ | Disable title to have full control over the message formatting | true, false | false |
DD_TRIGGER_TELEGRAM_{trigger_name}_MESSAGEFORMAT | ⚪ | Send the message as markdown or as html (useful for custom message formatting) | Markdown, HTML | Markdown |
This trigger also supports the common configuration variables.
Examples
Configuration
services:
drydock:
image: codeswhat/drydock
...
environment:
- DD_TRIGGER_TELEGRAM_1_BOTTOKEN=0123456789:AApFzFLD0g0NVg8l0bZf55ex3sajC4Aw84Q
- DD_TRIGGER_TELEGRAM_1_CHATID=9876543210docker run \
-e DD_TRIGGER_TELEGRAM_1_BOTTOKEN="0123456789:AApFzFLD0g0NVg8l0bZf55ex3sajC4Aw84Q" \
-e DD_TRIGGER_TELEGRAM_1_CHATID="9876543210" \
...
codeswhat/drydock