Package org.drinkless.tdlib
Class TdApi.RequestQrCodeAuthentication
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.RequestQrCodeAuthentication
-
- Enclosing class:
- TdApi
public static class TdApi.RequestQrCodeAuthentication extends TdApi.Function
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
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.long[]otherUserIdsList of user identifiers of other users currently using the application.
-
Constructor Summary
Constructors Constructor Description RequestQrCodeAuthentication()Default constructor for a function, which requests QR code authentication by scanning a QR code on another logged in device.RequestQrCodeAuthentication(long[] otherUserIds)Creates a function, which requests QR code authentication by scanning a QR code on another logged in device.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
otherUserIds
public long[] otherUserIds
List of user identifiers of other users currently using the application.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RequestQrCodeAuthentication
public RequestQrCodeAuthentication()
Default constructor for a function, which 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)
Creates a function, which 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- List of user identifiers of other users currently using the application.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-