#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = -1993844876 |
| | Identifier uniquely determining a type of the object.
|
| |
Describes a contact of a user.
Definition at line 17426 of file td_api.h.
◆ contact() [1/2]
| td::td_api::contact::contact |
( |
| ) |
|
Describes a contact of a user.
◆ contact() [2/2]
| 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 contact of a user.
- Parameters
-
| [in] | phone_number_ | Phone number of the user. |
| [in] | first_name_ | First name of the user; 1-64 characters. |
| [in] | last_name_ | Last name of the user; 0-64 characters. |
| [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. |
◆ store()
| void td::td_api::contact::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] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ first_name_
| string td::td_api::contact::first_name_ |
First name of the user; 1-64 characters.
Definition at line 17439 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::contact::ID = -1993844876 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 17464 of file td_api.h.
◆ last_name_
| string td::td_api::contact::last_name_ |
Last name of the user; 0-64 characters.
Definition at line 17441 of file td_api.h.
◆ phone_number_
| string td::td_api::contact::phone_number_ |
Phone number of the user.
Definition at line 17437 of file td_api.h.
◆ user_id_
| int53 td::td_api::contact::user_id_ |
Identifier of the user, if known; 0 otherwise.
Definition at line 17445 of file td_api.h.
◆ vcard_
| string td::td_api::contact::vcard_ |
Additional data about the user in a form of vCard; 0-2048 bytes in length.
Definition at line 17443 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h