- Enclosing class:
- TdApi
Terminates a session of the current user.
Returns Ok
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTerminates a session of the current user.TerminateSession
(long sessionId) Terminates a session of the current user.TerminateSession
(DataInput input) Terminates a session of the current user. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
sessionId
public long sessionIdSession identifier. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
TerminateSession
public TerminateSession()Terminates a session of the current user.Returns
Ok
-
TerminateSession
public TerminateSession(long sessionId) Terminates a session of the current user.Returns
Ok
- Parameters:
sessionId
- long Session identifier.
-
TerminateSession
Terminates a session of the current user.Returns
Ok
- 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()
-