updateSessionWithMessage method Null safety

Future<NIMResult<void>> updateSessionWithMessage(
  1. {required NIMMessage message,
  2. bool needNotify = false}
)

Update a messaage in a conversation to update the conversation.


message The message to be updated
needNotify Specify whether to trigger a notification when the conversation is updated.

Implementation

Future<NIMResult<void>> updateSessionWithMessage({
  required NIMMessage message,
  bool needNotify = false,
}) {
  return _platform.updateSessionWithMessage(
      message: message, needNotify: needNotify);
}