/tgapi/bot{TOKEN}/{method},透明转发所有请求至 api.telegram.org。
用法
将后端中的 Telegram API 基础 URL 替换为:文件下载
专用文件下载端点位于/tgapi/file/bot{TOKEN}/{file_path}。这使 BotMux 可以直接替换 Telegram 的文件下载 URL,您可以将其配置为机器人库的 base_file_url:
Cache-Control: public, max-age=86400 头。