TDLib
Loading...
Searching...
No Matches
messageUsersShared Class Referencefinal

Inherits MessageContent.

Description

The current user shared users, which were requested by the bot.

Public Member Functions

 messageUsersShared ()
 messageUsersShared (array< object_ptr< sharedUser > > &&users_, int32 button_id_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

int32 button_id_
 Identifier of the keyboard button with the request.
array< object_ptr< sharedUser > > users_
 The shared users.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ messageUsersShared() [1/2]

messageUsersShared ( )

The current user shared users, which were requested by the bot.

◆ messageUsersShared() [2/2]

messageUsersShared ( array< object_ptr< sharedUser > > && users_,
int32 button_id_ )

The current user shared users, which were requested by the bot.

Parameters
[in]users_The shared users.
[in]button_id_Identifier of the keyboard button with the request.

Member Function Documentation

◆ store()

void 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 TlObject.


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