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::sharedUser Class Referencefinal

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

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

Public Member Functions

 sharedUser ()
 
 sharedUser (int53 user_id_, string const &first_name_, string const &last_name_, string const &username_, object_ptr< photo > &&photo_)
 
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 user_id_
 User identifier.
 
string first_name_
 First name of the user; for bots only.
 
string last_name_
 Last name of the user; for bots only.
 
string username_
 Username of the user; for bots only.
 
object_ptr< photophoto_
 Profile photo of the user; for bots only; may be null.
 

Static Public Attributes

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

Detailed Description

Contains information about a user shared with a bot.

Definition at line 63802 of file td_api.h.

Constructor & Destructor Documentation

◆ sharedUser() [1/2]

td::td_api::sharedUser::sharedUser ( )

Contains information about a user shared with a bot.

◆ sharedUser() [2/2]

td::td_api::sharedUser::sharedUser ( int53  user_id_,
string const &  first_name_,
string const &  last_name_,
string const &  username_,
object_ptr< photo > &&  photo_ 
)

Contains information about a user shared with a bot.

Parameters
[in]user_id_User identifier.
[in]first_name_First name of the user; for bots only.
[in]last_name_Last name of the user; for bots only.
[in]username_Username of the user; for bots only.
[in]photo_Profile photo of the user; for bots only; may be null.

Member Function Documentation

◆ store()

void td::td_api::sharedUser::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::sharedUser::first_name_

First name of the user; for bots only.

Definition at line 63815 of file td_api.h.

◆ ID

const std::int32_t td::td_api::sharedUser::ID = 293020919
static

Identifier uniquely determining a type of the object.

Definition at line 63840 of file td_api.h.

◆ last_name_

string td::td_api::sharedUser::last_name_

Last name of the user; for bots only.

Definition at line 63817 of file td_api.h.

◆ photo_

object_ptr<photo> td::td_api::sharedUser::photo_

Profile photo of the user; for bots only; may be null.

Definition at line 63821 of file td_api.h.

◆ user_id_

int53 td::td_api::sharedUser::user_id_

User identifier.

Definition at line 63813 of file td_api.h.

◆ username_

string td::td_api::sharedUser::username_

Username of the user; for bots only.

Definition at line 63819 of file td_api.h.


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