markChatroomMemberMuted method

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

添加/解除禁言聊天室成员

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

Implementation

Future<NIMResult<NIMChatroomMember>> markChatroomMemberMuted({
  required bool isAdd,
  required NIMChatroomMemberOptions options,
}) {
  return _platform.markChatroomMemberMuted(isAdd: isAdd, options: options);
}