Class 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 Detail

      • link

        public String link
        A link from a QR code. The link must be scanned by the in-app camera.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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.