Skip to content

editProxy

Function · TDLib 1.8.67 · d1085f9c

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

editProxy(
  proxy_id: int32,
  proxy: Proxy,
  enable: Bool,
  comment: string
) → AddedProxy

proxy_id

int32

Proxy identifier

proxy

Proxy

The new information about the proxy

enable

Bool

Pass true to immediately enable the proxy

comment

string

New comment for the proxy