Package org.drinkless.tdlib
Class TdApi.SessionTypeDevice
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.SessionType
org.drinkless.tdlib.TdApi.SessionTypeDevice
- Enclosing class:
- TdApi
A regular session from a device.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.longUnique identifier of the session. -
Constructor Summary
ConstructorsConstructorDescriptionA regular session from a device.SessionTypeDevice(long sessionId) A regular session from a device. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
sessionId
public long sessionIdUnique identifier of the session. Use terminateSession to terminate it or confirmSession to confirm it if it isn't confirmed yet. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SessionTypeDevice
public SessionTypeDevice()A regular session from a device. -
SessionTypeDevice
public SessionTypeDevice(long sessionId) A regular session from a device.- Parameters:
sessionId- Unique identifier of the session. Use terminateSession to terminate it or confirmSession to confirm it if it isn't confirmed yet.
-
-
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
-