Inherits Object.
Describes a contact to import.
Public Fields | |
| string | phone_number_ |
| Phone number of the user. | |
| string | first_name_ |
| First name of the user; 1-64 characters. | |
| string | last_name_ |
| Last name of the user; 0-64 characters. | |
| object_ptr< formattedText > | note_ |
| Note to add about the user; 0-getOption("user_note_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities are allowed; pass null to keep the current user's note. | |
Public Instance Methods | |
| importedContact () | |
| importedContact (string const &phone_number_, string const &first_name_, string const &last_name_, object_ptr< formattedText > &¬e_) | |
| 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 = 1818209156 |
| Identifier uniquely determining a type of the object. | |
| importedContact | ( | ) |
Describes a contact to import.
| importedContact | ( | string const & | phone_number_, |
| string const & | first_name_, | ||
| string const & | last_name_, | ||
| object_ptr< formattedText > && | note_ | ||
| ) |
Describes a contact to import.
| [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] | note_ | Note to add about the user; 0-getOption("user_note_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities are allowed; pass null to keep the current user's note. |
|
finalvirtual |