Add Telegram notification support

This commit is contained in:
Michael Vines
2019-12-16 11:48:56 -07:00
parent 389089859d
commit f33703aefc
2 changed files with 35 additions and 4 deletions

View File

@@ -21,9 +21,15 @@ the following fields:
### Sanity failure push notification
To receive a Slack and/or Discord notification on sanity failure, define one or
both of these environment variables before running `solana-watchtower`:
To receive a Slack, Discord and/or Telgram notification on sanity failure,
define environment variables before running `solana-watchtower`:
```
export SLACK_WEBHOOK=...
export DISCORD_WEBHOOK=...
```
Telgram requires the following two variables:
```
export TELEGRAM_BOT_TOKEN=...
export TELEGRAM_CHAT_ID=...
```