Package org.drinkless.tdlib
Class TdApi.UnconfirmedSession
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.UnconfirmedSession
- Enclosing class:
- TdApi
Contains information about an unconfirmed session.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intPoint in time (Unix timestamp) when the user has logged in or the business bot was connected.Model of the device that was used for the session creation, as provided by the application.A human-readable description of the location from which the session was created, based on the IP address.Session type. -
Constructor Summary
ConstructorsConstructorDescriptionContains information about an unconfirmed session.UnconfirmedSession(TdApi.SessionType type, int date, String deviceModel, String location) Contains information about an unconfirmed session. -
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
-
type
Session type. -
date
public int datePoint in time (Unix timestamp) when the user has logged in or the business bot was connected. -
deviceModel
Model of the device that was used for the session creation, as provided by the application. -
location
A human-readable description of the location from which the session was created, based on the IP address. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UnconfirmedSession
public UnconfirmedSession()Contains information about an unconfirmed session. -
UnconfirmedSession
Contains information about an unconfirmed session.- Parameters:
type- Session type.date- Point in time (Unix timestamp) when the user has logged in or the business bot was connected.deviceModel- Model of the device that was used for the session creation, as provided by the application.location- A human-readable description of the location from which the session was created, based on the IP address.
-
-
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
-