add_message_reaction


Description:

public async Ok add_message_reaction (int64 chat_id, int64 message_id, ReactionType reaction_type, bool is_big, bool update_recent_reactions) throws TDLibError

Adds a reaction or a tag to a message. Use Client.get_message_available_reactions to receive the list of available reactions for the message

Parameters:

chat_id

Identifier of the chat to which the message belongs

message_id

Identifier of the message

reaction_type

Type of the reaction to add. Use Client.add_pending_paid_message_reaction instead to add the paid reaction

is_big

Pass true if the reaction is added with a big animation

update_recent_reactions

Pass true if the reaction needs to be added to recent reactions; tags are never added to the list of recent reactions