Module tdlight.api

Class TdApi.ConfirmQrCodeAuthentication

Enclosing class:
TdApi

public static final 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
      See Also:
  • 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
      Confirms QR code authentication on another device. Returns created session on success. Returns Session
      Throws:
      IOException
  • Method Details