tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::personalDetails Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::personalDetails:
td::td_api::Object td::TlObject

Public Member Functions

 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 Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

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< datebirthdate_
 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&#x27;s country.
 
string residence_country_code_
 A two-letter ISO 3166-1 alpha-2 country code of the user&#x27;s residence country.
 

Static Public Attributes

static const std::int32_t ID = -1061656137
 Identifier uniquely determining a type of the object.
 

Detailed Description

Contains the user&#x27;s personal details.

Definition at line 51615 of file td_api.h.

Constructor & Destructor Documentation

◆ personalDetails() [1/2]

td::td_api::personalDetails::personalDetails ( )

Contains the user&#x27;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&#x27;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&#x27;s country.
[in]residence_country_code_A two-letter ISO 3166-1 alpha-2 country code of the user&#x27;s residence country.

Member Function Documentation

◆ 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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ birthdate_

object_ptr<date> td::td_api::personalDetails::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&#x27;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&#x27;s residence country.

Definition at line 51644 of file td_api.h.


The documentation for this class was generated from the following file: