List of all members | Public Fields | Public Instance Methods | Static Public Attributes
messageChatShared Class Referencefinal

Inherits MessageContent.

Description

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

Public Fields

object_ptr< sharedChatchat_
 The shared chat.
 
int32 button_id_
 Identifier of the keyboard button with the request.
 

Public Instance Methods

 messageChatShared ()
 
 messageChatShared (object_ptr< sharedChat > &&chat_, int32 button_id_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ messageChatShared() [1/2]

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.

Method 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: