TDLib
Loading...
Searching...
No Matches
updateApplicationRecaptchaVerificationRequired Class Referencefinal

Inherits Update.

Description

A request can't be completed unless reCAPTCHA verification is performed; for official mobile applications only. The method setApplicationVerificationToken must be called once the verification is completed or failed.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 updateApplicationRecaptchaVerificationRequired ()
 updateApplicationRecaptchaVerificationRequired (int53 verification_id_, string const &action_, string const &recaptcha_key_id_)
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

string action_
 The action for the check.
string recaptcha_key_id_
 Identifier of the reCAPTCHA key.
int53 verification_id_
 Unique identifier for the verification process.

Static Public Attributes

static const std::int32_t ID = -1796351554
 Identifier uniquely determining a type of the object.

Constructor & Destructor Documentation

◆ updateApplicationRecaptchaVerificationRequired() [1/2]

updateApplicationRecaptchaVerificationRequired ( )

A request can't be completed unless reCAPTCHA verification is performed; for official mobile applications only. The method setApplicationVerificationToken must be called once the verification is completed or failed.

◆ updateApplicationRecaptchaVerificationRequired() [2/2]

updateApplicationRecaptchaVerificationRequired ( int53 verification_id_,
string const & action_,
string const & recaptcha_key_id_ )

A request can't be completed unless reCAPTCHA verification is performed; for official mobile applications only. The method setApplicationVerificationToken must be called once the verification is completed or failed.

Parameters
[in]verification_id_Unique identifier for the verification process.
[in]action_The action for the check.
[in]recaptcha_key_id_Identifier of the reCAPTCHA key.

Member Function Documentation

◆ store()

void store ( TlStorerToString & s,
const char * field_name ) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: