removeReaction method
Deletes a Reaction.
Param messageId The message ID.
Param reaction The Reaction content.
Throws A description of the exception. See ChatError.
Implementation
Future<void> removeReaction({
required String messageId,
required String reaction,
}) async {
try {
Map req = {"reaction": reaction, "msgId": messageId};
Map result = await platform_interface.Client.instance.chatManager
.callNativeMethod(ChatMethodKeys.removeReaction, req);
ChatError.hasErrorFromResult(result);
} catch (e) {
rethrow;
}
}