deleteReactionFromMessage static method

Future<void> deleteReactionFromMessage(
  1. String reactionId,
  2. String messageId
)

Delete reaction with id reactionId from message with id messageId.

Implementation

static Future<void> deleteReactionFromMessage(
  String reactionId,
  String messageId,
) async {
  MercuryRequest req = await _req();
  req.message = Message(id: messageId);
  req.reaction = MessageReaction(id: reactionId);

  await _client.deleteReactionFromMessage(req);
}