Inherits Object.
Contains basic information about another user that started a chat with the current user.
Public Fields | |
int32 | registration_month_ |
Month when the user was registered in Telegram; 0-12; may be 0 if unknown. | |
int32 | registration_year_ |
Year when the user was registered in Telegram; 0-9999; may be 0 if unknown. | |
string | phone_number_country_code_ |
A two-letter ISO 3166-1 alpha-2 country code based on the phone number of the user; may be empty if unknown. | |
int32 | last_name_change_date_ |
Point in time (Unix timestamp) when the user changed name last time; 0 if unknown. | |
int32 | last_photo_change_date_ |
Point in time (Unix timestamp) when the user changed photo last time; 0 if unknown. | |
Public Instance Methods | |
accountInfo () | |
accountInfo (int32 registration_month_, int32 registration_year_, string const &phone_number_country_code_, int32 last_name_change_date_, int32 last_photo_change_date_) | |
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 Public Attributes | |
static const std::int32_t | ID = 1803492711 |
Identifier uniquely determining a type of the object. | |
accountInfo | ( | ) |
Contains basic information about another user that started a chat with the current user.
accountInfo | ( | int32 | registration_month_, |
int32 | registration_year_, | ||
string const & | phone_number_country_code_, | ||
int32 | last_name_change_date_, | ||
int32 | last_photo_change_date_ | ||
) |
Contains basic information about another user that started a chat with the current user.
[in] | registration_month_ | Month when the user was registered in Telegram; 0-12; may be 0 if unknown. |
[in] | registration_year_ | Year when the user was registered in Telegram; 0-9999; may be 0 if unknown. |
[in] | phone_number_country_code_ | A two-letter ISO 3166-1 alpha-2 country code based on the phone number of the user; may be empty if unknown. |
[in] | last_name_change_date_ | Point in time (Unix timestamp) when the user changed name last time; 0 if unknown. |
[in] | last_photo_change_date_ | Point in time (Unix timestamp) when the user changed photo last time; 0 if unknown. |
|
finalvirtual |