mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-03-26 19:00:11 +08:00
add environment variable for notify/telegram.sh
parent
720ec80e57
commit
28183f4545
@ -470,6 +470,7 @@ Once you have both the API token, and the chat ID for where you want the Bot to
|
||||
```sh
|
||||
export TELEGRAM_BOT_APITOKEN="..." # Token returned by @BotFather during bot creation 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:
|
||||
|
Loading…
Reference in New Issue
Block a user