Inherits Object.
Contains settings for the authentication of the user's phone number.
Public Fields | |
bool | allow_flash_call_ |
Pass true if the authentication code may be sent via a flash call to the specified phone number. | |
bool | allow_missed_call_ |
Pass true if the authentication code may be sent via a missed call to the specified phone number. | |
bool | is_current_phone_number_ |
Pass true if the authenticated phone number is used on the current device. | |
bool | allow_sms_retriever_api_ |
For official applications only. True, if the application can use Android SMS Retriever API (requires Google Play Services >= 10.2) to automatically receive the authentication code from the SMS. See https://developers.google.com/identity/sms-retriever/ for more details. | |
array< string > | authentication_tokens_ |
List of up to 20 authentication tokens, recently received in updateOption("authentication_token") in previously logged out sessions. | |
Public Instance Methods | |
phoneNumberAuthenticationSettings () | |
phoneNumberAuthenticationSettings (bool allow_flash_call_, bool allow_missed_call_, bool is_current_phone_number_, bool allow_sms_retriever_api_, array< string > &&authentication_tokens_) | |
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 | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -421219756 |
Identifier uniquely determining a type of the object. | |
Contains settings for the authentication of the user's phone number.
phoneNumberAuthenticationSettings | ( | bool | allow_flash_call_, |
bool | allow_missed_call_, | ||
bool | is_current_phone_number_, | ||
bool | allow_sms_retriever_api_, | ||
array< string > && | authentication_tokens_ | ||
) |
Contains settings for the authentication of the user's phone number.
[in] | allow_flash_call_ | Pass true if the authentication code may be sent via a flash call to the specified phone number. |
[in] | allow_missed_call_ | Pass true if the authentication code may be sent via a missed call to the specified phone number. |
[in] | is_current_phone_number_ | Pass true if the authenticated phone number is used on the current device. |
[in] | allow_sms_retriever_api_ | For official applications only. True, if the application can use Android SMS Retriever API (requires Google Play Services >= 10.2) to automatically receive the authentication code from the SMS. See https://developers.google.com/identity/sms-retriever/ for more details. |
[in] | authentication_tokens_ | List of up to 20 authentication tokens, recently received in updateOption("authentication_token") in previously logged out sessions. |
|
inlinefinalvirtual |
|
finalvirtual |