#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = 1881885547 |
| | Identifier uniquely determining a type of the object.
|
| |
Contains settings for the authentication of the user's phone number.
Definition at line 51727 of file td_api.h.
◆ phoneNumberAuthenticationSettings() [1/2]
| td::td_api::phoneNumberAuthenticationSettings::phoneNumberAuthenticationSettings |
( |
| ) |
|
Contains settings for the authentication of the user's phone number.
◆ phoneNumberAuthenticationSettings() [2/2]
| td::td_api::phoneNumberAuthenticationSettings::phoneNumberAuthenticationSettings |
( |
bool |
allow_flash_call_, |
|
|
bool |
allow_missed_call_, |
|
|
bool |
is_current_phone_number_, |
|
|
bool |
has_unknown_phone_number_, |
|
|
bool |
allow_sms_retriever_api_, |
|
|
object_ptr< FirebaseAuthenticationSettings > && |
firebase_authentication_settings_, |
|
|
array< string > && |
authentication_tokens_ |
|
) |
| |
Contains settings for the authentication of the user's phone number.
- Parameters
-
| [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] | has_unknown_phone_number_ | Pass true if there is a SIM card in the current device, but it is not possible to check whether phone number matches. |
| [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] | firebase_authentication_settings_ | For official Android and iOS applications only; pass null otherwise. Settings for Firebase Authentication. |
| [in] | authentication_tokens_ | List of up to 20 authentication tokens, recently received in updateOption("authentication_token") in previously logged out sessions; for setAuthenticationPhoneNumber only. |
◆ store()
| void td::td_api::phoneNumberAuthenticationSettings::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] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ allow_flash_call_
| bool td::td_api::phoneNumberAuthenticationSettings::allow_flash_call_ |
Pass true if the authentication code may be sent via a flash call to the specified phone number.
Definition at line 51738 of file td_api.h.
◆ allow_missed_call_
| bool td::td_api::phoneNumberAuthenticationSettings::allow_missed_call_ |
Pass true if the authentication code may be sent via a missed call to the specified phone number.
Definition at line 51740 of file td_api.h.
◆ allow_sms_retriever_api_
| bool td::td_api::phoneNumberAuthenticationSettings::allow_sms_retriever_api_ |
◆ authentication_tokens_
| array<string> td::td_api::phoneNumberAuthenticationSettings::authentication_tokens_ |
◆ firebase_authentication_settings_
For official Android and iOS applications only; pass null otherwise. Settings for Firebase Authentication.
Definition at line 51748 of file td_api.h.
◆ has_unknown_phone_number_
| bool td::td_api::phoneNumberAuthenticationSettings::has_unknown_phone_number_ |
Pass true if there is a SIM card in the current device, but it is not possible to check whether phone number matches.
Definition at line 51744 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::phoneNumberAuthenticationSettings::ID = 1881885547 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 51771 of file td_api.h.
◆ is_current_phone_number_
| bool td::td_api::phoneNumberAuthenticationSettings::is_current_phone_number_ |
Pass true if the authenticated phone number is used on the current device.
Definition at line 51742 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h