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

Inherits ChatAvailableReactions.

Description

Only specific reactions are available in the chat.

Public Member Functions

 chatAvailableReactionsSome ()
 chatAvailableReactionsSome (array< object_ptr< ReactionType > > &&reactions_, int32 max_reaction_count_)
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 max_reaction_count_
 The maximum allowed number of reactions per message; 1-11.
array< object_ptr< ReactionType > > reactions_
 The list of reactions.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ chatAvailableReactionsSome() [1/2]

chatAvailableReactionsSome ( )

Only specific reactions are available in the chat.

◆ chatAvailableReactionsSome() [2/2]

chatAvailableReactionsSome ( array< object_ptr< ReactionType > > && reactions_,
int32 max_reaction_count_ )

Only specific reactions are available in the chat.

Parameters
[in]reactions_The list of reactions.
[in]max_reaction_count_The maximum allowed number of reactions per message; 1-11.

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: