muteAllTeamMember method

Future<NIMResult<void>> muteAllTeamMember(
  1. String teamId,
  2. bool mute
)

禁言群全体成员 将整个群禁言,该操作仅群主或者管理员有权限。禁言操作成功之后,会回调群更新接口 teamId 群Id mute true表示禁言,false表示解除禁言

Implementation

Future<NIMResult<void>> muteAllTeamMember(String teamId, bool mute) async {
  return _platform.muteAllTeamMember(teamId, mute);
}