GetCurrentState constructor

GetCurrentState(
  1. {int? extra,
  2. int? clientId}
)

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

Implementation

GetCurrentState