DrydockDrydock
ConfigurationTriggersTelegram

Telegram

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

logo

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

Variables

Env varRequiredDescriptionSupported valuesDefault 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}_DISABLETITLEDisable title to have full control over the message formattingtrue, falsefalse
DD_TRIGGER_TELEGRAM_{trigger_name}_MESSAGEFORMATSend the message as markdown or as html (useful for custom message formatting)Markdown, HTMLMarkdown
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=9876543210
docker run \
  -e DD_TRIGGER_TELEGRAM_1_BOTTOKEN="0123456789:AApFzFLD0g0NVg8l0bZf55ex3sajC4Aw84Q" \
  -e DD_TRIGGER_TELEGRAM_1_CHATID="9876543210" \
  ...
  codeswhat/drydock

How to create a bot and get the bot token

Follow this tutorial

How to get the chat id

Follow this tutorial

On this page