Interface EditProxy

Edits an existing proxy server for network requests. Can be called before authorization. Request type for Tdjson#editProxy.

interface EditProxy {
    @type: "editProxy";
    enable?: boolean;
    port: number;
    proxy_id: number;
    server: string;
    type: ProxyType;
}

Properties

@type: "editProxy"
enable?: boolean

Pass true to immediately enable the proxy.

port: number

Proxy server port.

proxy_id: number

Proxy identifier.

server: string

Proxy server domain or IP address.

type: ProxyType

Proxy type.