|
TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
| contact () | |
| contact (string const &phone_number_, string const &first_name_, string const &last_name_, string const &vcard_, int53 user_id_) | |
| std::int32_t | get_id () const final |
| 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 | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Public Attributes | |
| 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. | |
Static Public Attributes | |
| static const std::int32_t | ID = -1993844876 |
| Identifier uniquely determining a type of the object. | |
Describes a user contact.
| td::td_api::contact::contact | ( | ) |
Describes a user contact.
| td::td_api::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. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.