Skip to content

getCurrentState

Function · TDLib 1.8.67 · d1085f9c

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

getCurrentState( ) → Updates