Class TdApi.GetCurrentState

Enclosing class:
TdApi

public static class TdApi.GetCurrentState extends TdApi.Function<TdApi.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. Can be called before initialization.

Returns Updates

  • Field Details

    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • GetCurrentState

      public GetCurrentState()
      Default constructor for a function, which 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. Can be called before initialization.

      Returns Updates

  • Method Details