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

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

Inheritance diagram for td::td_api::authenticationCodeInfo:
td::td_api::Object td::TlObject

Public Member Functions

 authenticationCodeInfo ()
 
 authenticationCodeInfo (string const &phone_number_, object_ptr< AuthenticationCodeType > &&type_, object_ptr< AuthenticationCodeType > &&next_type_, int32 timeout_)
 
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 phone_number_
 A phone number that is being authenticated.
 
object_ptr< AuthenticationCodeTypetype_
 The way the code was sent to the user.
 
object_ptr< AuthenticationCodeTypenext_type_
 The way the next code will be sent to the user; may be null.
 
int32 timeout_
 Timeout before the code can be re-sent, in seconds.
 

Static Public Attributes

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

Detailed Description

Information about the authentication code that was sent.

Definition at line 2026 of file td_api.h.

Constructor & Destructor Documentation

◆ authenticationCodeInfo() [1/2]

td::td_api::authenticationCodeInfo::authenticationCodeInfo ( )

Information about the authentication code that was sent.

◆ authenticationCodeInfo() [2/2]

td::td_api::authenticationCodeInfo::authenticationCodeInfo ( string const &  phone_number_,
object_ptr< AuthenticationCodeType > &&  type_,
object_ptr< AuthenticationCodeType > &&  next_type_,
int32  timeout_ 
)

Information about the authentication code that was sent.

Parameters
[in]phone_number_A phone number that is being authenticated.
[in]type_The way the code was sent to the user.
[in]next_type_The way the next code will be sent to the user; may be null.
[in]timeout_Timeout before the code can be re-sent, in seconds.

Member Function Documentation

◆ store()

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

◆ ID

const std::int32_t td::td_api::authenticationCodeInfo::ID = -860345416
static

Identifier uniquely determining a type of the object.

Definition at line 2061 of file td_api.h.

◆ next_type_

object_ptr<AuthenticationCodeType> td::td_api::authenticationCodeInfo::next_type_

The way the next code will be sent to the user; may be null.

Definition at line 2041 of file td_api.h.

◆ phone_number_

string td::td_api::authenticationCodeInfo::phone_number_

A phone number that is being authenticated.

Definition at line 2037 of file td_api.h.

◆ timeout_

int32 td::td_api::authenticationCodeInfo::timeout_

Timeout before the code can be re-sent, in seconds.

Definition at line 2043 of file td_api.h.

◆ type_

object_ptr<AuthenticationCodeType> td::td_api::authenticationCodeInfo::type_

The way the code was sent to the user.

Definition at line 2039 of file td_api.h.


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