markChatroomMemberInBlackList method Null safety
- {required bool isAdd,
- required NIMChatroomMemberOptions options}
Add a member to the blocklist or remove a member from it.
isAdd
true: add the member to the blocklist, false: remove the member from the blocklistmemberOption
The request parameters including the chatroom ID, account ID, and the optional extension field
Implementation
Future<NIMResult<NIMChatroomMember>> markChatroomMemberInBlackList({
required bool isAdd,
required NIMChatroomMemberOptions options,
}) {
return _platform.markChatroomMemberInBlackList(
isAdd: isAdd, options: options);
}