Class TdApi.UnconfirmedSession

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.UnconfirmedSession
Enclosing class:
TdApi

public static class TdApi.UnconfirmedSession extends TdApi.Object
Contains information about an unconfirmed session.
  • Field Details

    • type

      public TdApi.SessionType type
      Session type.
    • date

      public int date
      Point in time (Unix timestamp) when the user has logged in or the business bot was connected.
    • deviceModel

      public String deviceModel
      Model of the device that was used for the session creation, as provided by the application.
    • location

      public String location
      A human-readable description of the location from which the session was created, based on the IP address.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • UnconfirmedSession

      public UnconfirmedSession()
      Contains information about an unconfirmed session.
    • UnconfirmedSession

      public UnconfirmedSession(TdApi.SessionType type, int date, String deviceModel, String location)
      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.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR