TDLib
Loading...
Searching...
No Matches
td::td_api::user Class Referencefinal
Inheritance diagram for td::td_api::user:
td::td_api::Object td::TlObject

Public Member Functions

 user (int53 id_, string const &first_name_, string const &last_name_, object_ptr< usernames > &&usernames_, string const &phone_number_, object_ptr< UserStatus > &&status_, object_ptr< profilePhoto > &&profile_photo_, int32 accent_color_id_, int64 background_custom_emoji_id_, object_ptr< upgradedGiftColors > &&upgraded_gift_colors_, int32 profile_accent_color_id_, int64 profile_background_custom_emoji_id_, object_ptr< emojiStatus > &&emoji_status_, bool is_contact_, bool is_mutual_contact_, bool is_close_friend_, object_ptr< verificationStatus > &&verification_status_, bool is_premium_, bool is_support_, object_ptr< restrictionInfo > &&restriction_info_, object_ptr< ActiveStoryState > &&active_story_state_, bool restricts_new_chats_, int53 paid_message_star_count_, bool have_access_, object_ptr< UserType > &&type_, string const &language_code_, bool added_to_attachment_menu_)
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

int53 id_
string first_name_
string last_name_
object_ptr< usernamesusernames_
string phone_number_
object_ptr< UserStatusstatus_
object_ptr< profilePhotoprofile_photo_
int32 accent_color_id_
int64 background_custom_emoji_id_
object_ptr< upgradedGiftColorsupgraded_gift_colors_
int32 profile_accent_color_id_
int64 profile_background_custom_emoji_id_
object_ptr< emojiStatusemoji_status_
bool is_contact_
bool is_mutual_contact_
bool is_close_friend_
object_ptr< verificationStatusverification_status_
bool is_premium_
bool is_support_
object_ptr< restrictionInforestriction_info_
object_ptr< ActiveStoryStateactive_story_state_
bool restricts_new_chats_
int53 paid_message_star_count_
bool have_access_
object_ptr< UserTypetype_
string language_code_
bool added_to_attachment_menu_

Static Public Attributes

static const std::int32_t ID = 1874921182

Member Function Documentation

◆ store()

void td::td_api::user::store ( TlStorerToString & s,
const char * field_name ) const
finalvirtual

Helper function for the to_string method. Appends a string representation of the object to the storer.

Parameters
[in]sStorer to which the object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.


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