markChatroomMemberBeManager method Null safety
- {required bool isAdd,
- required NIMChatroomMemberOptions options}
Assign the admin role to a member or unassign the admin role from a member.
isAdd
true: assign the admin role to a member, false: unassign the admin role from a membermemberOption
The request parameters including the chatroom ID, account ID, and the optional extension field
Implementation
Future<NIMResult<NIMChatroomMember>> markChatroomMemberBeManager({
required bool isAdd,
required NIMChatroomMemberOptions options,
}) {
return _platform.markChatroomMemberBeManager(
isAdd: isAdd, options: options);
}