Skip to content

addProxy

Function · TDLib 1.8.67 · d1085f9c

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

addProxy(
  proxy: Proxy,
  enable: Bool,
  comment: string
) → AddedProxy

proxy

Proxy

The proxy to add

enable

Bool

Pass true to immediately enable the proxy

comment

string

Comment to set for the proxy