Module tdlight.api

Class TdApi.AuthorizationStateWaitOtherDeviceConfirmation

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.AuthorizationState
it.tdlight.jni.TdApi.AuthorizationStateWaitOtherDeviceConfirmation
Enclosing class:
TdApi

public static final class TdApi.AuthorizationStateWaitOtherDeviceConfirmation extends TdApi.AuthorizationState
The user needs to confirm authorization on another logged in device by scanning a QR code with the provided link.
  • Field Details

    • CONSTRUCTOR

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

    • AuthorizationStateWaitOtherDeviceConfirmation

      public AuthorizationStateWaitOtherDeviceConfirmation()
      The user needs to confirm authorization on another logged in device by scanning a QR code with the provided link.
    • AuthorizationStateWaitOtherDeviceConfirmation

      public AuthorizationStateWaitOtherDeviceConfirmation(String link)
      The user needs to confirm authorization on another logged in device by scanning a QR code with the provided link.
      Parameters:
      link - A tg:// URL for the QR code. The link will be updated frequently.
    • AuthorizationStateWaitOtherDeviceConfirmation

      public AuthorizationStateWaitOtherDeviceConfirmation(DataInput input) throws IOException
      The user needs to confirm authorization on another logged in device by scanning a QR code with the provided link.
      Parameters:
      input - Serialized input
      Throws:
      IOException - the deserialization failed
  • 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
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object