updateChatroomMyMemberInfo method Null safety
- {required String roomId,
- required NIMChatroomUpdateMyMemberInfoRequest request,
- bool needNotify = true,
- Map<
String, dynamic> ? notifyExtension}
Update the current user's information in the chatroom.
roomIdThe chatroom ID.requestThe role information that can be updated.needNotifySpecify whether to notify chatroom members of the updates of the user's information.notifyExtensionThe extension field of the notification on the update of the user's information.
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,
);
}