addReactionToMessage static method
Add reaction reaction
to message with id messageId
.
Implementation
static Future<MessageReaction> addReactionToMessage(
String reaction,
String messageId,
) async {
MercuryRequest req = await _req();
req.message = Message(id: messageId);
req.reaction = MessageReaction(emoji: reaction);
MercuryResponse res = await _client.addReactionToMessage(req);
return res.reaction;
}