telegram

Telegram plugin which gives the opportunity send any messages to users via bot.
Arguments
TELEGRAM_TOKEN
- token of your bot
TELEGRAM_TO
- array of user ids who will receive a message separated by comma
TELEGRAM_STATUS
- send info about current build
TELEGRAM_MESSAGE
- text of message which will be sent to user
TELEGRAM_IMAGES
- array of image links for attaching to message
    version: '1.0'
steps:
  sendMessage:
    type: telegram
    arguments:
      TELEGRAM_TOKEN: '${{TOKEN}}'
      TELEGRAM_TO: 99999999
      TELEGRAM_MESSAGE: 'Hello {{{userLink}}}, how are you'
      TELEGRAM_IMAGES: 'https://codefresh.io/docs/assets/brand/codefresh-social.png'

  
github.comAndrii ShaforostovAug 21, 2019source