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

Inherits MessageContent.

Description

The current user shared a chat, which was requested by the bot.

Public Member Functions

 messageChatShared ()
 messageChatShared (object_ptr< sharedChat > &&chat_, 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.
object_ptr< sharedChat > chat_
 The shared chat.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ messageChatShared() [1/2]

messageChatShared ( )

The current user shared a chat, which was requested by the bot.

◆ messageChatShared() [2/2]

messageChatShared ( object_ptr< sharedChat > && chat_,
int32 button_id_ )

The current user shared a chat, which was requested by the bot.

Parameters
[in]chat_The shared chat.
[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: