edit_proxy


Description:

public async Proxy edit_proxy (int32 proxy_id, string server, int32 port, bool enable, ProxyType type_) throws TDLibError

Edits an existing proxy server for network requests. Can be called before authorization

Parameters:

proxy_id

Proxy identifier

server

Proxy server domain or IP address

port

Proxy server port

enable

Pass true to immediately enable the proxy

type_

Proxy type