TDLib
Loading...
Searching...
No Matches
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 Member Functions

 authenticationCodeTypeMissedCall ()
 authenticationCodeTypeMissedCall (string const &phone_number_prefix_, int32 length_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

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

Static Public Attributes

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

Constructor & Destructor Documentation

◆ authenticationCodeTypeMissedCall() [1/2]

authenticationCodeTypeMissedCall ( )

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.

Member Function 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: