sendMessageReceipt method Null safety

Future<NIMResult<void>> sendMessageReceipt(
  1. {required String sessionId,
  2. required NIMMessage message}
)

Send a read receipt in the one-to-one chat scenario. Listen to onMessageReceipt if required, which represents read receipts in the one-to-one chat scenario.

Implementation

Future<NIMResult<void>> sendMessageReceipt(
    {required String sessionId, required NIMMessage message}) async {
  return _platform.sendMessageReceipt(sessionId: sessionId, message: message);
}