PingProxy
public struct PingProxy : Codable, Equatable, TDFunction
Computes time needed to receive a response from a Telegram server through a proxy. Can be called before authorization
-
Undocumented
Declaration
Swift
public typealias Result = Seconds
-
Proxy identifier. Use 0 to ping a Telegram server without a proxy
Declaration
Swift
public let proxyId: Int32
-
Computes time needed to receive a response from a Telegram server through a proxy. Can be called before authorization
Declaration
Swift
public init(proxyId: Int32)
Parameters
proxyId
Proxy identifier. Use 0 to ping a Telegram server without a proxy