SetBotUpdatesStatus
public struct SetBotUpdatesStatus : Codable, Equatable, TDFunction
Informs the server about the number of pending bot updates if they haven’t been processed for a long time; for bots only
-
Undocumented
Declaration
Swift
public typealias Result = Ok
-
The number of pending updates
Declaration
Swift
public let pendingUpdateCount: Int32
-
The last error message
Declaration
Swift
public let errorMessage: String
-
Informs the server about the number of pending bot updates if they haven’t been processed for a long time; for bots only
Declaration
Swift
public init(pendingUpdateCount: Int32, errorMessage: String)
Parameters
pendingUpdateCount
The number of pending updates
errorMessage
The last error message