public static class TdApi.ConfirmQrCodeAuthentication extends TdApi.Function
Returns Session
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
link
A link from a QR code.
|
Constructor and Description |
---|
ConfirmQrCodeAuthentication()
Default constructor for a function, which confirms QR code authentication on another device.
|
ConfirmQrCodeAuthentication(java.lang.String link)
Creates a function, which confirms QR code authentication on another device.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String link
public static final int CONSTRUCTOR
public ConfirmQrCodeAuthentication()
Returns Session
public ConfirmQrCodeAuthentication(java.lang.String link)
Returns Session
link
- A link from a QR code. The link must be scanned by the in-app camera.public int getConstructor()
getConstructor
in class TdApi.Function