#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = 868276259 |
| | Identifier uniquely determining a type of the object.
|
| |
Sets the phone number of the user and sends an authentication code to the user. Works only when the current authorization state is authorizationStateWaitPhoneNumber, or if there is no pending authentication query and the current authorization state is authorizationStateWaitPremiumPurchase, authorizationStateWaitEmailAddress, authorizationStateWaitEmailCode, authorizationStateWaitCode, authorizationStateWaitRegistration, or authorizationStateWaitPassword.
Returns object_ptr<Ok>.
Definition at line 127341 of file td_api.h.
◆ ReturnType
Typedef for the type returned by the function.
Definition at line 127377 of file td_api.h.
◆ setAuthenticationPhoneNumber() [1/2]
| td::td_api::setAuthenticationPhoneNumber::setAuthenticationPhoneNumber |
( |
| ) |
|
◆ setAuthenticationPhoneNumber() [2/2]
◆ store()
| void td::td_api::setAuthenticationPhoneNumber::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.
◆ ID
| const std::int32_t td::td_api::setAuthenticationPhoneNumber::ID = 868276259 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 127374 of file td_api.h.
◆ phone_number_
| string td::td_api::setAuthenticationPhoneNumber::phone_number_ |
The phone number of the user, in international format.
Definition at line 127352 of file td_api.h.
◆ settings_
Settings for the authentication of the user's phone number; pass null to use default settings.
Definition at line 127354 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