Interface EditProxy

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

interface EditProxy {
    @type: "editProxy";
    comment: string;
    enable?: boolean;
    proxy: Proxy;
    proxy_id: number;
}

Properties

@type: "editProxy"
comment: string

New comment for the proxy.

enable?: boolean

Pass true to immediately enable the proxy.

proxy: Proxy

The new information about the proxy.

proxy_id: number

Proxy identifier.