Class TdApi.SessionTypeDevice

Enclosing class:
TdApi

public static class TdApi.SessionTypeDevice extends TdApi.SessionType
A regular session from a device.
  • Field Details

    • sessionId

      public long sessionId
      Unique 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 CONSTRUCTOR
      Identifier 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.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR