3.2.1 • Published 8 months ago

@runnerty/notifier-telegram v3.2.1

Weekly downloads
5
License
MIT
Repository
github
Last release
8 months ago

NPM version Downloads

Telegram notifier for Runnerty:

Installation:

Through NPM

npm i @runnerty/notifier-telegram

You can also add modules to your project with runnerty

npx runnerty add @runnerty/notifier-telegram

This command installs the module in your project, adds example configuration in your config.json and creates an example plan of use.

If you have installed runnerty globally you can include the module with this command:

runnerty add @runnerty/notifier-telegram

Configuration sample:

Add it in the notification section of the config.json file. More information here:

{
  "id": "telegram_default",
  "type": "@runnerty-notifier-telegram",
  "token": "ABC123",
  "chat_id": "ABC123"
}

Example:

{
  // ...
  "notifiers": [
    {
      "id": "telegram_default",
      "type": "@runnerty-notifier-telegram",
      "token": "MyTokenId",
      "chat_id": "MyChatId"
    }
    //...
  ]
}

Plan sample:

Add add it to any chain or process notification event. More information here:

{
  "id": "telegram_default",
  "message": "Process @GV(PROCESS_ID) Running!"
}

Examples:

{
  "id": "PROCESS_SAMPLE",
  "name": "Sample process",
  "exec": {
    "id": "shell_default",
    "command": "echo 'Hello world'"
  },
  "notifications": {
    "on_end": [
      {
        "id": "telegram_default",
        "message": "THE PROCESS @GV(PROCESS_ID) HAS FINISHED"
      }
    ]
  }
}
  • Video:
{
  "id": "PROCESS_SAMPLE",
  "name": "Sample process",
  "exec": {
    "id": "shell_default",
    "command": "echo 'Hello world'"
  },
  "notifications": {
    "on_end": [
      {
        "id": "telegram_default",
        "message": "THE PROCESS @GV(PROCESS_ID) HAS FINISHED",
        "video": "./my_video.mp4"
      }
    ]
  }
}
3.2.1

8 months ago

3.2.0

2 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.0

3 years ago

1.0.0

6 years ago