Возможно пишу фигню... Но выходит можно подключать бота в одной сети через локальный, что должно повысить скорость?
Если я правильно понимаю, то суть именно в переносе основного потока трафика на MTProto (между этой "проксёй" и серверами Telegram), тогда как сейчас может быть долгим обращение по HTTPS на api.telegram.org
Download files without a size limit. Upload files up to 2000 MB. Upload files using their local path and the file URI scheme. Use an HTTP URL for the webhook. Use any local IP address for the webhook. Use any port for the webhook. Set max_webhook_connections up to 100000. Receive the absolute local path as a value of the file_path field without the need to download the file after a getFile request.
Download files without a size limit. Upload files up to 2000 MB. Upload files using their local path and the file URI scheme. Use an HTTP URL for the webhook. Use any local IP address for the webhook. Use any port for the webhook. Set max_webhook_connections up to 100000. Receive the absolute local path as a value of the file_path field without the need to download the file after a getFile request.
Я немного не понимаю этого уточнения про 2000 МБ, когда про "download" написано "without a size limit" С точки зрения бота "download" — это то, что отправит ему пользователь Telegram. Но там тоже лимит в 2000 МБ!