Package it.tdlight.jni
Class TdApi.GetCurrentState
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetCurrentState
- Enclosing class:
- TdApi
public static class TdApi.GetCurrentState extends TdApi.Function
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 Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
-
Constructor Summary
Constructors Constructor Description GetCurrentState()
Returns all updates needed to restore current TDLib state, i.e.GetCurrentState(DataInput input)
Returns all updates needed to restore current TDLib state, i.e. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetCurrentState
public GetCurrentState()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
-
GetCurrentState
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
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-