Telegram has this amazing feature of built-in free proxy service. It supports two proxy servers, MTProto and SOCKS5. The purpose of the proxy is to enhance the security of the users when using the app.