View Source ExTDLib.Method.EditProxy (ExTDLib v0.0.4)

Edits an existing proxy server for network requests. Can be called before authorization. Returns object_ptr<Proxy>.

NameTypeDescription
proxy_idnumberProxy identifier.
serverstringProxy server domain or IP address.
portnumberProxy server port.
enableboolPass true to immediately enable the proxy.
typeProxyTypeProxy type.

More details on telegram's documentation.