telegram-action

GitHub Action that sends a Telegram message.

MIT License

Stars
781
Committers
6

Bot releases are visible (Hide)

telegram-action - Latest Release

Published by appleboy about 1 month ago

telegram-action -

Published by appleboy over 3 years ago

telegram-action -

Published by appleboy about 4 years ago

telegram-action -

Published by appleboy about 4 years ago

telegram-action -

Published by appleboy over 4 years ago

telegram-action -

Published by appleboy almost 5 years ago

telegram-action -

Published by appleboy almost 5 years ago

telegram-action -

Published by appleboy about 5 years ago

telegram-action -

Published by appleboy about 5 years ago

telegram-action - Support all type of message

Published by appleboy over 5 years ago

Environment variables

  • PHOTO - Optional. photo message
  • DOCUMENT - Optional. document message
  • STICKER - Optional. sticker message
  • AUDIO - Optional. audio message
  • VOICE - Optional. voice message
  • LOCATION - Optional. location message
  • VENUE - Optional. venue message
  • VIDEO - Optional. video message
  • DEBUG - Optional. enable debug mode

Example

action "Send photo message" {
  uses = "appleboy/telegram-action@master"
  secrets = [
    "TELEGRAM_TOKEN",
    "TELEGRAM_TO",
  ]
  env = {
    PHOTO = "tests/github.png"
  }
  args = "A new commit has been pushed."
}
telegram-action - Support default message

Published by appleboy over 5 years ago

telegram-workflow

Send custom message as below

action "Send Custom Message" {
  uses = "appleboy/telegram-action@master"
  secrets = [
    "TELEGRAM_TOKEN",
    "TELEGRAM_TO",
  ]
  args = "A new commit has been pushed."
}

Send the default message. Please remove args

action "Send Default Message" {
  uses = "appleboy/telegram-action@master"
  secrets = [
    "TELEGRAM_TOKEN",
    "TELEGRAM_TO",
  ]
}
telegram-action - Release first version

Published by appleboy over 5 years ago