updateMessageReactions function
Adds and/or removes reaction on the message with messageId
messageId
- the ID of the message you reacted on
addReaction
- the new reaction you want to add
removeReaction
- the reaction you added before and want to delete
Implementation
Future<void> updateMessageReactions(String messageId,
{String? addReaction, String? removeReaction}) {
return UpdateMessageReactionQuery(
messageId,
addReaction: addReaction,
removeReaction: removeReaction,
).perform();
}