List of all members | Public Fields | Public Instance Methods | Static Public Attributes
authorizationStateWaitEmailCode Class Referencefinal

Inherits AuthorizationState.

Description

TDLib needs the user's authentication code sent to an email address to authorize. Call checkAuthenticationEmailCode to provide the code.

Public Fields

bool allow_apple_id_
 True, if authorization through Apple ID is allowed.
 
bool allow_google_id_
 True, if authorization through Google ID is allowed.
 
object_ptr< emailAddressAuthenticationCodeInfocode_info_
 Information about the sent authentication code.
 
object_ptr< EmailAddressResetStateemail_address_reset_state_
 Reset state of the email address; may be null if the email address can't be reset.
 

Public Instance Methods

 authorizationStateWaitEmailCode ()
 
 authorizationStateWaitEmailCode (bool allow_apple_id_, bool allow_google_id_, object_ptr< emailAddressAuthenticationCodeInfo > &&code_info_, object_ptr< EmailAddressResetState > &&email_address_reset_state_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ authorizationStateWaitEmailCode() [1/2]

TDLib needs the user's authentication code sent to an email address to authorize. Call checkAuthenticationEmailCode to provide the code.

◆ authorizationStateWaitEmailCode() [2/2]

authorizationStateWaitEmailCode ( bool  allow_apple_id_,
bool  allow_google_id_,
object_ptr< emailAddressAuthenticationCodeInfo > &&  code_info_,
object_ptr< EmailAddressResetState > &&  email_address_reset_state_ 
)

TDLib needs the user's authentication code sent to an email address to authorize. Call checkAuthenticationEmailCode to provide the code.

Parameters
[in]allow_apple_id_True, if authorization through Apple ID is allowed.
[in]allow_google_id_True, if authorization through Google ID is allowed.
[in]code_info_Information about the sent authentication code.
[in]email_address_reset_state_Reset state of the email address; may be null if the email address can't be reset.

Method 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: