add environment variable for notify/telegram.sh

master
Sikro 2024-12-03 15:17:27 +08:00
parent 720ec80e57
commit 28183f4545
1 changed files with 1 additions and 0 deletions

@ -470,6 +470,7 @@ Once you have both the API token, and the chat ID for where you want the Bot to
```sh ```sh
export TELEGRAM_BOT_APITOKEN="..." # Token returned by @BotFather during bot creation above. export TELEGRAM_BOT_APITOKEN="..." # Token returned by @BotFather during bot creation above.
export TELEGRAM_BOT_CHATID="..." # Chat ID fetched above. export TELEGRAM_BOT_CHATID="..." # Chat ID fetched above.
export TELEGRAM_BOT_URLBASE="https://tgproxy.example.com" # Your own proxy address, it can be cloudflare or other
``` ```
And then set notification hook: And then set notification hook: