saveMessage method

Future<NIMResult<NIMMessage>> saveMessage(
  1. {required NIMMessage message,
  2. required String fromAccount}
)

保存消息

Implementation

Future<NIMResult<NIMMessage>> saveMessage(
    {required NIMMessage message, required String fromAccount}) async {
  return _platform.saveMessage(message: message, fromAccount: fromAccount);
}