Inherits Object.
Contains the user's personal details.
Public Fields | |
| string | first_name_ |
| First name of the user written in English; 1-255 characters. | |
| string | middle_name_ |
| Middle name of the user written in English; 0-255 characters. | |
| string | last_name_ |
| Last name of the user written in English; 1-255 characters. | |
| string | native_first_name_ |
| Native first name of the user; 1-255 characters. | |
| string | native_middle_name_ |
| Native middle name of the user; 0-255 characters. | |
| string | native_last_name_ |
| Native last name of the user; 1-255 characters. | |
| object_ptr< date > | birthdate_ |
| Birthdate of the user. | |
| string | gender_ |
| Gender of the user, "male" or "female". | |
| string | country_code_ |
| A two-letter ISO 3166-1 alpha-2 country code of the user's country. | |
| string | residence_country_code_ |
| A two-letter ISO 3166-1 alpha-2 country code of the user's residence country. | |
Public Instance Methods | |
| 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 |
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 = -1061656137 |
| Identifier uniquely determining a type of the object. | |
| personalDetails | ( | ) |
Contains the user's personal details.
| 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.
| [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. |
|
finalvirtual |