acmesh-official / acme.sh

A pure Unix shell script implementing ACME client protocol
https://acme.sh
GNU General Public License v3.0
37.46k stars 4.82k forks source link

Feature request: add new env vaule for TELEGRAM API URL #5177

Open mikal opened 1 week ago

mikal commented 1 week ago

According to notify page, "TELEGRAM_BOT_APITOKEN" and "TELEGRAM_BOT_CHATID" are required. Can the TG API URL, api.telegram.org, also be customized and then replaced with self-hosted API?

For example, https://${bot_API}/bot${bot_token}/getUpdates

In some scenarios, it would be useful to make TG work with the customized API. Thanks again for your great job.

github-actions[bot] commented 1 week ago

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.

mikal commented 1 week ago

I tried to upgrade but it's already latest one. And, I also checked the sources code but didn't find a variable for TG API url.