updateChatroomMyMemberInfo method
- {required String roomId,
- required NIMChatroomUpdateMyMemberInfoRequest request,
- bool needNotify = true,
- Map<
String, dynamic> ? notifyExtension}
更新聊天室内的自身信息
roomId
聊天室idrequest
可更新的本人角色信息needNotify
是否通知notifyExtension
更新聊天室信息扩展字段,这个字段会放到更新聊天室信息通知的扩展字段中
Implementation
Future<NIMResult<void>> updateChatroomMyMemberInfo({
required String roomId,
required NIMChatroomUpdateMyMemberInfoRequest request,
bool needNotify = true,
Map<String, dynamic>? notifyExtension,
}) async {
return _platform.updateChatroomMyMemberInfo(
roomId: roomId,
request: request,
needNotify: needNotify,
notifyExtension: notifyExtension,
);
}