Class TdApi.ConfirmQrCodeAuthentication

Enclosing class:
TdApi

public static class TdApi.ConfirmQrCodeAuthentication extends TdApi.Function<TdApi.Session>
Confirms QR code authentication on another device. Returns created session on success.

Returns Session

  • Field Details

    • CONSTRUCTOR

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

    • ConfirmQrCodeAuthentication

      public ConfirmQrCodeAuthentication()
      Default constructor for a function, which confirms QR code authentication on another device. Returns created session on success.

      Returns Session

    • ConfirmQrCodeAuthentication

      public ConfirmQrCodeAuthentication(String link)
      Creates a function, which confirms QR code authentication on another device. Returns created session on success.

      Returns Session

      Parameters:
      link - A link from a QR code. The link must be scanned by the in-app camera.
  • 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