markChatroomMemberInBlackList abstract method

Future<NIMResult<NIMChatroomMember>> markChatroomMemberInBlackList({
  1. required bool isAdd,
  2. required NIMChatroomMemberOptions options,
})

添加/移出聊天室黑名单

isAdd true:设置, false:取消设置 memberOption 请求参数,包含聊天室id,帐号id以及可选的扩展字段

Implementation

Future<NIMResult<NIMChatroomMember>> markChatroomMemberInBlackList({
  required bool isAdd,
  required NIMChatroomMemberOptions options,
});