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::authorizationStateWaitEmailCode Class Referencefinal

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

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

Public Member Functions

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

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&#x27;t be reset.
 

Static Public Attributes

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

Detailed Description

TDLib needs the user&#x27;s authentication code sent to an email address to authorize. Call checkAuthenticationEmailCode to provide the code.

Definition at line 2652 of file td_api.h.

Constructor & Destructor Documentation

◆ authorizationStateWaitEmailCode() [1/2]

td::td_api::authorizationStateWaitEmailCode::authorizationStateWaitEmailCode ( )

TDLib needs the user&#x27;s authentication code sent to an email address to authorize. Call checkAuthenticationEmailCode to provide the code.

◆ authorizationStateWaitEmailCode() [2/2]

td::td_api::authorizationStateWaitEmailCode::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&#x27;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&#x27;t be reset.

Member Function Documentation

◆ store()

void td::td_api::authorizationStateWaitEmailCode::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

◆ allow_apple_id_

bool td::td_api::authorizationStateWaitEmailCode::allow_apple_id_

True, if authorization through Apple ID is allowed.

Definition at line 2663 of file td_api.h.

◆ allow_google_id_

bool td::td_api::authorizationStateWaitEmailCode::allow_google_id_

True, if authorization through Google ID is allowed.

Definition at line 2665 of file td_api.h.

◆ code_info_

object_ptr<emailAddressAuthenticationCodeInfo> td::td_api::authorizationStateWaitEmailCode::code_info_

Information about the sent authentication code.

Definition at line 2667 of file td_api.h.

◆ email_address_reset_state_

object_ptr<EmailAddressResetState> td::td_api::authorizationStateWaitEmailCode::email_address_reset_state_

Reset state of the email address; may be null if the email address can&#x27;t be reset.

Definition at line 2669 of file td_api.h.

◆ ID

const std::int32_t td::td_api::authorizationStateWaitEmailCode::ID = -1868627365
static

Identifier uniquely determining a type of the object.

Definition at line 2687 of file td_api.h.


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