设置
影响范围
所有 Telegram API 调用都通过自定义 URL 路由:- 机器人轮询(
getUpdates) - Bot API 方法(send、ban、pin 等)
- API 代理(
/tgapi/转发到自定义 URL 而非api.telegram.org) - 媒体文件下载
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
使用自托管的 Telegram Bot API 服务器
# Via flag
./botmux -token "TOKEN" -tg-api "http://localhost:8081"
# Via environment variable
TELEGRAM_API_URL="http://localhost:8081" ./botmux
getUpdates)/tgapi/ 转发到自定义 URL 而非 api.telegram.org)此页面对您有帮助吗?