Drone plugins > Telegram

The Telegram plugin posts build status messages to your account.

Example

kind: pipeline
name: default

steps:
- name: send telegram notification
  image: appleboy/drone-telegram
  settings:
    token: xxxxxxxxxx
    to: telegram_user_id
    message_file: message_file.tpl
    template_vars:
      env: testing
      app: MyApp

Properties

  • token

    stringrequired

    telegram token from telegram developer center

    Secret recommended

    Default: none

  • to

    stringrequired

    telegram user id (can be requested from the @userinfobot inside Telegram)

    Default: none

  • message

    stringoptional

    overwrite the default message template

    Default: none

  • photo

    stringoptional

    local file path

    Default: none

  • document

    stringoptional

    local file path

    Default: none

  • sticker

    stringoptional

    local file path

    Default: none

  • audio

    stringoptional

    local file path

    Default: none

  • voice

    stringoptional

    local file path

    Default: none

  • location

    stringoptional

    local file path

    Default: none

  • video

    stringoptional

    local file path

    Default: none

  • venue

    stringoptional

    local file path

    Default: none

  • format

    stringoptional

    markdown or html format

    Default: none