Inherits Object.
Describes a user contact.
Public Fields | |
string | phone_number_ |
Phone number of the user. | |
string | first_name_ |
First name of the user; 1-255 characters in length. | |
string | last_name_ |
Last name of the user. | |
string | vcard_ |
Additional data about the user in a form of vCard; 0-2048 bytes in length. | |
int53 | user_id_ |
Identifier of the user, if known; 0 otherwise. | |
Public Instance Methods | |
contact () | |
contact (string const &phone_number_, string const &first_name_, string const &last_name_, string const &vcard_, int53 user_id_) | |
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 = -1993844876 |
Identifier uniquely determining a type of the object. | |
contact | ( | ) |
Describes a user contact.
contact | ( | string const & | phone_number_, |
string const & | first_name_, | ||
string const & | last_name_, | ||
string const & | vcard_, | ||
int53 | user_id_ | ||
) |
Describes a user contact.
[in] | phone_number_ | Phone number of the user. |
[in] | first_name_ | First name of the user; 1-255 characters in length. |
[in] | last_name_ | Last name of the user. |
[in] | vcard_ | Additional data about the user in a form of vCard; 0-2048 bytes in length. |
[in] | user_id_ | Identifier of the user, if known; 0 otherwise. |
|
finalvirtual |