add_proxy


Description:

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

Adds a proxy server for network requests. Can be called before authorization

Parameters:

server

Proxy server domain or IP address

port

Proxy server port

enable

Pass true to immediately enable the proxy

type_

Proxy type