Package org.drinkless.tdlib
Class TdApi.TerminateSession
- Enclosing class:
- TdApi
Terminates a session of the current user.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.longSession identifier. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which terminates a session of the current user.TerminateSession(long sessionId) Creates a function, which terminates a session of the current user. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
sessionId
public long sessionIdSession identifier. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
TerminateSession
public TerminateSession()Default constructor for a function, which terminates a session of the current user.Returns
Ok -
TerminateSession
public TerminateSession(long sessionId) Creates a function, which terminates a session of the current user.Returns
Ok- Parameters:
sessionId- Session identifier.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-