tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::authorizationStateWaitPassword Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::authorizationStateWaitPassword:
td::td_api::AuthorizationState td::td_api::Object td::TlObject

Public Member Functions

 authorizationStateWaitPassword ()
 
 authorizationStateWaitPassword (string const &password_hint_, bool has_recovery_email_address_, bool has_passport_data_, string const &recovery_email_address_pattern_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

string password_hint_
 Hint for the password; may be empty.
 
bool has_recovery_email_address_
 True, if a recovery email address has been set up.
 
bool has_passport_data_
 True, if some Telegram Passport elements were saved.
 
string recovery_email_address_pattern_
 Pattern of the email address to which the recovery email was sent; empty until a recovery email has been sent.
 

Static Public Attributes

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

Detailed Description

The user has been authorized, but needs to enter a 2-step verification password to start using the application. Call checkAuthenticationPassword to provide the password, or requestAuthenticationPasswordRecovery to recover the password, or deleteAccount to delete the account after a week.

Definition at line 2817 of file td_api.h.

Constructor & Destructor Documentation

◆ authorizationStateWaitPassword() [1/2]

td::td_api::authorizationStateWaitPassword::authorizationStateWaitPassword ( )

The user has been authorized, but needs to enter a 2-step verification password to start using the application. Call checkAuthenticationPassword to provide the password, or requestAuthenticationPasswordRecovery to recover the password, or deleteAccount to delete the account after a week.

◆ authorizationStateWaitPassword() [2/2]

td::td_api::authorizationStateWaitPassword::authorizationStateWaitPassword ( string const &  password_hint_,
bool  has_recovery_email_address_,
bool  has_passport_data_,
string const &  recovery_email_address_pattern_ 
)

The user has been authorized, but needs to enter a 2-step verification password to start using the application. Call checkAuthenticationPassword to provide the password, or requestAuthenticationPasswordRecovery to recover the password, or deleteAccount to delete the account after a week.

Parameters
[in]password_hint_Hint for the password; may be empty.
[in]has_recovery_email_address_True, if a recovery email address has been set up.
[in]has_passport_data_True, if some Telegram Passport elements were saved.
[in]recovery_email_address_pattern_Pattern of the email address to which the recovery email was sent; empty until a recovery email has been sent.

Member Function Documentation

◆ store()

void td::td_api::authorizationStateWaitPassword::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 td::TlObject.

Member Data Documentation

◆ has_passport_data_

bool td::td_api::authorizationStateWaitPassword::has_passport_data_

True, if some Telegram Passport elements were saved.

Definition at line 2832 of file td_api.h.

◆ has_recovery_email_address_

bool td::td_api::authorizationStateWaitPassword::has_recovery_email_address_

True, if a recovery email address has been set up.

Definition at line 2830 of file td_api.h.

◆ ID

const std::int32_t td::td_api::authorizationStateWaitPassword::ID = 112238030
static

Identifier uniquely determining a type of the object.

Definition at line 2852 of file td_api.h.

◆ password_hint_

string td::td_api::authorizationStateWaitPassword::password_hint_

Hint for the password; may be empty.

Definition at line 2828 of file td_api.h.

◆ recovery_email_address_pattern_

string td::td_api::authorizationStateWaitPassword::recovery_email_address_pattern_

Pattern of the email address to which the recovery email was sent; empty until a recovery email has been sent.

Definition at line 2834 of file td_api.h.


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