/tgapi/bot{TOKEN}/{method} transparently forwards all requests to api.telegram.org.
Usage
Replace the Telegram API base URL in your backend:File downloads
A dedicated file download endpoint is available at/tgapi/file/bot{TOKEN}/{file_path}. This makes BotMux a drop-in replacement for Telegram’s file download URL, so you can configure it as your bot library’s base_file_url:
Cache-Control: public, max-age=86400 header.