tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::importedContact Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::importedContact:
td::td_api::Object td::TlObject

Public Member Functions

 importedContact ()
 
 importedContact (string const &phone_number_, string const &first_name_, string const &last_name_, object_ptr< formattedText > &&note_)
 
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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

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< formattedTextnote_
 Note to add about the user; 0-getOption("user_note_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, and DateTime entities are allowed; pass null to keep the current user&#x27;s note.
 

Static Public Attributes

static const std::int32_t ID = 1818209156
 Identifier uniquely determining a type of the object.
 

Detailed Description

Describes a contact to import.

Definition at line 25636 of file td_api.h.

Constructor & Destructor Documentation

◆ importedContact() [1/2]

td::td_api::importedContact::importedContact ( )

Describes a contact to import.

◆ importedContact() [2/2]

td::td_api::importedContact::importedContact ( string const &  phone_number_,
string const &  first_name_,
string const &  last_name_,
object_ptr< formattedText > &&  note_ 
)

Describes a contact to import.

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]note_Note to add about the user; 0-getOption("user_note_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, and DateTime entities are allowed; pass null to keep the current user&#x27;s note.

Member Function Documentation

◆ store()

void td::td_api::importedContact::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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ first_name_

string td::td_api::importedContact::first_name_

First name of the user; 1-64 characters.

Definition at line 25649 of file td_api.h.

◆ ID

const std::int32_t td::td_api::importedContact::ID = 1818209156
static

Identifier uniquely determining a type of the object.

Definition at line 25671 of file td_api.h.

◆ last_name_

string td::td_api::importedContact::last_name_

Last name of the user; 0-64 characters.

Definition at line 25651 of file td_api.h.

◆ note_

object_ptr<formattedText> td::td_api::importedContact::note_

Note to add about the user; 0-getOption("user_note_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, and DateTime entities are allowed; pass null to keep the current user&#x27;s note.

Definition at line 25653 of file td_api.h.

◆ phone_number_

string td::td_api::importedContact::phone_number_

Phone number of the user.

Definition at line 25647 of file td_api.h.


The documentation for this class was generated from the following file: