EditProxy
public struct EditProxy : Codable, Equatable, TDFunction
Edits an existing proxy server for network requests. Can be called before authorization
-
Undocumented
Declaration
Swift
public typealias Result = Proxy
-
Proxy identifier
Declaration
Swift
public let proxyId: Int32
-
Proxy server IP address
Declaration
Swift
public let server: String
-
Proxy server port
Declaration
Swift
public let port: Int32
-
True, if the proxy should be enabled
Declaration
Swift
public let enable: Bool
-
Proxy type
Declaration
Swift
public let type: ProxyType
-
Edits an existing proxy server for network requests. Can be called before authorization
Declaration
Swift
public init(proxyId: Int32, server: String, port: Int32, enable: Bool, type: ProxyType)
Parameters
proxyId
Proxy identifier
server
Proxy server IP address
port
Proxy server port
enable
True, if the proxy should be enabled
type
Proxy type