Class TdApi.ConfirmQrCodeAuthentication

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.ConfirmQrCodeAuthentication
Enclosing class:
TdApi

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

Returns Session

  • Field Details

    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • ConfirmQrCodeAuthentication

      public ConfirmQrCodeAuthentication()
      Confirms QR code authentication on another device. Returns created session on success.

      Returns Session

    • ConfirmQrCodeAuthentication

      public ConfirmQrCodeAuthentication​(String link)
      Confirms QR code authentication on another device. Returns created session on success.

      Returns Session

      Parameters:
      link - String A link from a QR code. The link must be scanned by the in-app camera.
    • ConfirmQrCodeAuthentication

      public ConfirmQrCodeAuthentication​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details