Setup
What It Affects
All Telegram API calls are routed through the custom URL:- Bot polling (
getUpdates) - Bot API methods (send, ban, pin, etc.)
- API proxy (
/tgapi/forwards to custom URL instead ofapi.telegram.org) - Media file downloads
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Use a self-hosted Telegram Bot API server
# Via flag
./botmux -token "TOKEN" -tg-api "http://localhost:8081"
# Via environment variable
TELEGRAM_API_URL="http://localhost:8081" ./botmux
getUpdates)/tgapi/ forwards to custom URL instead of api.telegram.org)Was this page helpful?