sendMessageReceipt method

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

发送单聊已读回执 如果需要监听消息已读回执,请监听 onMessageReceipt

Implementation

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