The TDLight Telegram Bot API is an actively enhanced fork of the original Bot API, featuring experimental user support, proxies, unlimited files size, and more.
Unfortunately original telegram-bot-api needs to modify source code in Client.cpp to work via proxy. You have methods proxyTypeHttp proxyTypeMtproto proxyTypeSocks5 but how use them? Docker-entrypoint show TELEGRAM_PROXY option but it related to webhooks,
In the same time tdlight-api-openapi.yaml have options /addProxy via POST. Kindly please advice what should be done? Thanks!
You need to add a proxy first using the addProxy method, you'll get a proxy_id, use that id with the enableProxy method to use it
Note that proxies are per bot and not for the whole botapi
Is it possible to run tdlight-telegram-bot-api via corporate proxy?
Unfortunately original telegram-bot-api needs to modify source code in Client.cpp to work via proxy. You have methods proxyTypeHttp proxyTypeMtproto proxyTypeSocks5 but how use them? Docker-entrypoint show TELEGRAM_PROXY option but it related to webhooks, In the same time tdlight-api-openapi.yaml have options /addProxy via POST. Kindly please advice what should be done? Thanks!