reportMessage method

Future<void> reportMessage({
  1. required Message message,
  2. required String tag,
  3. required String reason,
})

Implementation

Future<void> reportMessage({
  required Message message,
  required String tag,
  required String reason,
}) async {
  try {
    ChatUIKit.instance.reportMessage(
      messageId: message.msgId,
      tag: tag,
      reason: reason,
    );
    // ignore: empty_catches
  } catch (e) {}
}