A reverse proxy for Telegram Bot API on Aliyun Function Compute / Cloudflare Workers
To help users in China mainland access telegram api stably and conveniently with low cost, this script maybe the one you need.
The server-less means you don't have to run a server to proxy the requests, just pay as you go.
key_prefix, set it to the prefix of you bot address(like
/bot563441998:) can avoid abusing.
Tip: You should create the function in regions outside China mainland.
If you use Aliyun FC, create a function with Flask template and replace it with the
flask.py. If you use Cloudflare Workers, use the