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

Inherits Update.

Description

User changed its reactions on a message with public reactions; for bots only.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 updateMessageReaction ()
 updateMessageReaction (int53 chat_id_, int53 message_id_, object_ptr< MessageSender > &&actor_id_, int32 date_, array< object_ptr< ReactionType > > &&old_reaction_types_, array< object_ptr< ReactionType > > &&new_reaction_types_)
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

object_ptr< MessageSender > actor_id_
 Identifier of the user or chat that changed reactions.
int53 chat_id_
 Chat identifier.
int32 date_
 Point in time (Unix timestamp) when the reactions were changed.
int53 message_id_
 Message identifier.
array< object_ptr< ReactionType > > new_reaction_types_
 New list of chosen reactions.
array< object_ptr< ReactionType > > old_reaction_types_
 Old list of chosen reactions.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ updateMessageReaction() [1/2]

updateMessageReaction ( )

User changed its reactions on a message with public reactions; for bots only.

◆ updateMessageReaction() [2/2]

updateMessageReaction ( int53 chat_id_,
int53 message_id_,
object_ptr< MessageSender > && actor_id_,
int32 date_,
array< object_ptr< ReactionType > > && old_reaction_types_,
array< object_ptr< ReactionType > > && new_reaction_types_ )

User changed its reactions on a message with public reactions; for bots only.

Parameters
[in]chat_id_Chat identifier.
[in]message_id_Message identifier.
[in]actor_id_Identifier of the user or chat that changed reactions.
[in]date_Point in time (Unix timestamp) when the reactions were changed.
[in]old_reaction_types_Old list of chosen reactions.
[in]new_reaction_types_New list of chosen reactions.

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: