GetCurrentState

public struct GetCurrentState : Codable, Equatable, TDFunction

Returns all updates needed to restore current TDLib state, i.e. all actual UpdateAuthorizationState/UpdateUser/UpdateNewChat and others. This is especially useful if TDLib is run in a separate process. This is an offline method. Can be called before authorization

  • Undocumented

    Declaration

    Swift

    public typealias Result = Updates
  • Returns all updates needed to restore current TDLib state, i.e. all actual UpdateAuthorizationState/UpdateUser/UpdateNewChat and others. This is especially useful if TDLib is run in a separate process. This is an offline method. Can be called before authorization

    Declaration

    Swift

    public init()