updateSession method

Future<NIMResult<void>> updateSession(
  1. {required NIMSession session,
  2. bool needNotify = false}
)

更新会话对象

needNotify 是否需要发送通知 仅支持修改 tag 以及 extension

Implementation

Future<NIMResult<void>> updateSession({
  required NIMSession session,
  bool needNotify = false,
}) {
  return _platform.updateSession(session: session, needNotify: needNotify);
}