telegram

Telegram plugin which gives the opportunity send any messages to users via bot.

Arguments

  • TELEGRAM_IMAGES - array of image links for attaching to message
  • TELEGRAM_MESSAGE - text of message which will be sent to user
  • TELEGRAM_STATUS - send info about current build
  • TELEGRAM_TO * - array of user ids who will receive a message separated by comma
  • TELEGRAM_TOKEN * - token of your bot
    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'

  
    version: '1.0'
steps:
  sendMessage:
    type: telegram
    arguments:
      TELEGRAM_MESSAGE: message
      buildTrigger:
        '[object Object]': null
      buildInitiator:
        '[object Object]': null
      buildId:
        '[object Object]': null
      buildTimestamp:
        '[object Object]': null
      buildUrl:
        '[object Object]': null
      repoOwner:
        '[object Object]': null
      repoName:
        '[object Object]': null
      branch:
        '[object Object]': null
      revision:
        '[object Object]': null
      commitAuthor:
        '[object Object]': null
      commitUrl:
        '[object Object]': null
      commitMessage:
        '[object Object]': null
      userID:
        '[object Object]': null
      userLink:
        '[object Object]': null

  
    version: '1.0'
steps:
  sendMessage:
    type: telegram
    arguments:
      TELEGRAM_MESSAGE: message
      buildTrigger:
        '[object Object]': null
      buildInitiator:
        '[object Object]': null
      buildId:
        '[object Object]': null
      buildTimestamp:
        '[object Object]': null
      buildUrl:
        '[object Object]': null
      repoOwner:
        '[object Object]': null
      repoName:
        '[object Object]': null
      branch:
        '[object Object]': null
      revision:
        '[object Object]': null
      commitAuthor:
        '[object Object]': null
      commitUrl:
        '[object Object]': null
      commitMessage:
        '[object Object]': null
      userID:
        '[object Object]': null
      userLink:
        '[object Object]': null

  
github.com
Andrii Shaforostov
Sep 18, 2019