Package it.tdlight.jni
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 Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
link
A link from a QR code. -
Constructor Summary
Constructors Constructor Description ConfirmQrCodeAuthentication()
Confirms QR code authentication on another device.ConfirmQrCodeAuthentication(DataInput input)
ConfirmQrCodeAuthentication(String link)
Confirms QR code authentication on another device. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
link
A link from a QR code. The link must be scanned by the in-app camera. -
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
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
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-