mirror of
https://github.com/acmesh-official/acme.sh
synced 2025-08-30 13:58:33 +00:00
add environment variable for notify/telegram.sh
@@ -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:
|
||||||
|
Reference in New Issue
Block a user