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

Inherits AuthenticationCodeType.

Description

An authentication code is delivered by an immediately canceled call to the specified phone number. The last digits of the phone number that calls are the code that must be entered manually by the user.

Public Fields

string phone_number_prefix_
 Prefix of the phone number from which the call will be made.
 
int32 length_
 Number of digits in the code, excluding the prefix.
 

Public Instance Methods

 authenticationCodeTypeMissedCall ()
 
 authenticationCodeTypeMissedCall (string const &phone_number_prefix_, int32 length_)
 
std::int32_t get_id () const final
 
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 = 700123783
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ authenticationCodeTypeMissedCall() [1/2]

An authentication code is delivered by an immediately canceled call to the specified phone number. The last digits of the phone number that calls are the code that must be entered manually by the user.

◆ authenticationCodeTypeMissedCall() [2/2]

authenticationCodeTypeMissedCall ( string const &  phone_number_prefix_,
int32  length_ 
)

An authentication code is delivered by an immediately canceled call to the specified phone number. The last digits of the phone number that calls are the code that must be entered manually by the user.

Parameters
[in]phone_number_prefix_Prefix of the phone number from which the call will be made.
[in]length_Number of digits in the code, excluding the prefix.

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements TlObject.

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