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

Inherits Object.

Description

Describes a shortcut that can be used for a quick reply.

Public Fields

int32 id_
 Unique shortcut identifier.
 
string name_
 The name of the shortcut that can be used to use the shortcut.
 
object_ptr< quickReplyMessagefirst_message_
 The first shortcut message.
 
int32 message_count_
 The total number of messages in the shortcut.
 

Public Instance Methods

 quickReplyShortcut ()
 
 quickReplyShortcut (int32 id_, string const &name_, object_ptr< quickReplyMessage > &&first_message_, int32 message_count_)
 
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 = -1107453291
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ quickReplyShortcut() [1/2]

Describes a shortcut that can be used for a quick reply.

◆ quickReplyShortcut() [2/2]

quickReplyShortcut ( int32  id_,
string const &  name_,
object_ptr< quickReplyMessage > &&  first_message_,
int32  message_count_ 
)

Describes a shortcut that can be used for a quick reply.

Parameters
[in]id_Unique shortcut identifier.
[in]name_The name of the shortcut that can be used to use the shortcut.
[in]first_message_The first shortcut message.
[in]message_count_The total number of messages in the shortcut.

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: