- Enclosing class:
- TdApi
Requests QR code authentication by
scanning a QR code on another logged
in device. Works only when the current
authorization state is
authorizationStateWaitPhoneNumber, or
if there is no pending authentication
query and the current authorization
state is authorizationStateWaitCode,
authorizationStateWaitRegistration, or authorizationStateWaitPassword.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
long[]
List of user identifiers of other users currently using the application. -
Constructor Summary
ConstructorDescriptionRequests QR code authentication by scanning a QR code on another logged in device.RequestQrCodeAuthentication
(long[] otherUserIds) Requests QR code authentication by scanning a QR code on another logged in device. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
otherUserIds
public long[] otherUserIdsList of user identifiers of other users currently using the application. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
RequestQrCodeAuthentication
public RequestQrCodeAuthentication()Requests QR code authentication by scanning a QR code on another logged in device. Works only when the current authorization state is authorizationStateWaitPhoneNumber, or if there is no pending authentication query and the current authorization state is authorizationStateWaitCode, authorizationStateWaitRegistration, or authorizationStateWaitPassword.Returns
Ok
-
RequestQrCodeAuthentication
public RequestQrCodeAuthentication(long[] otherUserIds) Requests QR code authentication by scanning a QR code on another logged in device. Works only when the current authorization state is authorizationStateWaitPhoneNumber, or if there is no pending authentication query and the current authorization state is authorizationStateWaitCode, authorizationStateWaitRegistration, or authorizationStateWaitPassword.Returns
Ok
- Parameters:
otherUserIds
- long[] List of user identifiers of other users currently using the application.
-
RequestQrCodeAuthentication
- 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()
-