#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| | personalDetails () |
| |
| | personalDetails (string const &first_name_, string const &middle_name_, string const &last_name_, string const &native_first_name_, string const &native_middle_name_, string const &native_last_name_, object_ptr< date > &&birthdate_, string const &gender_, string const &country_code_, string const &residence_country_code_) |
| |
| void | store (TlStorerToString &s, const char *field_name) const final |
| |
| 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 const std::int32_t | ID = -1061656137 |
| | Identifier uniquely determining a type of the object.
|
| |
Contains the user's personal details.
Definition at line 51615 of file td_api.h.
◆ personalDetails() [1/2]
| td::td_api::personalDetails::personalDetails |
( |
| ) |
|
Contains the user's personal details.
◆ personalDetails() [2/2]
| td::td_api::personalDetails::personalDetails |
( |
string const & |
first_name_, |
|
|
string const & |
middle_name_, |
|
|
string const & |
last_name_, |
|
|
string const & |
native_first_name_, |
|
|
string const & |
native_middle_name_, |
|
|
string const & |
native_last_name_, |
|
|
object_ptr< date > && |
birthdate_, |
|
|
string const & |
gender_, |
|
|
string const & |
country_code_, |
|
|
string const & |
residence_country_code_ |
|
) |
| |
Contains the user's personal details.
- Parameters
-
| [in] | first_name_ | First name of the user written in English; 1-255 characters. |
| [in] | middle_name_ | Middle name of the user written in English; 0-255 characters. |
| [in] | last_name_ | Last name of the user written in English; 1-255 characters. |
| [in] | native_first_name_ | Native first name of the user; 1-255 characters. |
| [in] | native_middle_name_ | Native middle name of the user; 0-255 characters. |
| [in] | native_last_name_ | Native last name of the user; 1-255 characters. |
| [in] | birthdate_ | Birthdate of the user. |
| [in] | gender_ | Gender of the user, "male" or "female". |
| [in] | country_code_ | A two-letter ISO 3166-1 alpha-2 country code of the user's country. |
| [in] | residence_country_code_ | A two-letter ISO 3166-1 alpha-2 country code of the user's residence country. |
◆ store()
| void td::td_api::personalDetails::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.
◆ birthdate_
Birthdate of the user.
Definition at line 51638 of file td_api.h.
◆ country_code_
| string td::td_api::personalDetails::country_code_ |
A two-letter ISO 3166-1 alpha-2 country code of the user's country.
Definition at line 51642 of file td_api.h.
◆ first_name_
| string td::td_api::personalDetails::first_name_ |
First name of the user written in English; 1-255 characters.
Definition at line 51626 of file td_api.h.
◆ gender_
| string td::td_api::personalDetails::gender_ |
Gender of the user, "male" or "female".
Definition at line 51640 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::personalDetails::ID = -1061656137 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 51668 of file td_api.h.
◆ last_name_
| string td::td_api::personalDetails::last_name_ |
Last name of the user written in English; 1-255 characters.
Definition at line 51630 of file td_api.h.
◆ middle_name_
| string td::td_api::personalDetails::middle_name_ |
Middle name of the user written in English; 0-255 characters.
Definition at line 51628 of file td_api.h.
◆ native_first_name_
| string td::td_api::personalDetails::native_first_name_ |
Native first name of the user; 1-255 characters.
Definition at line 51632 of file td_api.h.
◆ native_last_name_
| string td::td_api::personalDetails::native_last_name_ |
Native last name of the user; 1-255 characters.
Definition at line 51636 of file td_api.h.
◆ native_middle_name_
| string td::td_api::personalDetails::native_middle_name_ |
Native middle name of the user; 0-255 characters.
Definition at line 51634 of file td_api.h.
◆ residence_country_code_
| string td::td_api::personalDetails::residence_country_code_ |
A two-letter ISO 3166-1 alpha-2 country code of the user's residence country.
Definition at line 51644 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