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

Inherits Update.

Description

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

Public Fields

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

Public Instance Methods

 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_)
 
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 = 1084895706
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ updateMessageReaction() [1/2]

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.

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: