ConnectionState
public indirect enum ConnectionState : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum
Describes the current state of the connection to Telegram servers
-
Currently waiting for the network to become available. Use setNetworkType to change the available network type
Declaration
Swift
case waitingForNetwork
-
Currently establishing a connection with a proxy server
Declaration
Swift
case connectingToProxy
-
Currently establishing a connection to the Telegram servers
Declaration
Swift
case connecting
-
Downloading data received while the client was offline
Declaration
Swift
case updating
-
There is a working connection to the Telegram servers
Declaration
Swift
case ready