Package org.drinkless.tdlib
Class TdApi.SetApplicationVerificationToken
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Ok>
org.drinkless.tdlib.TdApi.SetApplicationVerificationToken
- Enclosing class:
- TdApi
Application or reCAPTCHA verification has been completed. Can be called before authorization.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Play Integrity API token for the Android application, or secret from push notification for the iOS application for application verification, or reCAPTCHA token for reCAPTCHA verifications; pass an empty string to abort verification and receive error VERIFICATIONFAILED for the request.long
Unique identifier for the verification process as received from updateApplicationVerificationRequired or updateApplicationRecaptchaVerificationRequired. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which application or reCAPTCHA verification has been completed.SetApplicationVerificationToken
(long verificationId, String token) Creates a function, which application or reCAPTCHA verification has been completed. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
verificationId
public long verificationIdUnique identifier for the verification process as received from updateApplicationVerificationRequired or updateApplicationRecaptchaVerificationRequired. -
token
Play Integrity API token for the Android application, or secret from push notification for the iOS application for application verification, or reCAPTCHA token for reCAPTCHA verifications; pass an empty string to abort verification and receive error VERIFICATIONFAILED for the request. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetApplicationVerificationToken
public SetApplicationVerificationToken()Default constructor for a function, which application or reCAPTCHA verification has been completed. Can be called before authorization.Returns
Ok
-
SetApplicationVerificationToken
Creates a function, which application or reCAPTCHA verification has been completed. Can be called before authorization.Returns
Ok
- Parameters:
verificationId
- Unique identifier for the verification process as received from updateApplicationVerificationRequired or updateApplicationRecaptchaVerificationRequired.token
- Play Integrity API token for the Android application, or secret from push notification for the iOS application for application verification, or reCAPTCHA token for reCAPTCHA verifications; pass an empty string to abort verification and receive error VERIFICATIONFAILED for the request.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-