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) {
  return _platform.muteAllTeamMember(teamId, mute);
}