updateTeamInfoPrivilege static method

Future<bool> updateTeamInfoPrivilege(
  1. String teamId,
  2. NIMTeamType type,
  3. NIMTeamUpdateInfoMode updateInfoMode
)

更新群资料修改模式

Implementation

static Future<bool> updateTeamInfoPrivilege(String teamId, NIMTeamType type,
    NIMTeamUpdateInfoMode updateInfoMode) async {
  NIMUpdateTeamInfoParams params = NIMUpdateTeamInfoParams();
  params.updateInfoMode = updateInfoMode;
  return _updateTeam(teamId, type, params);
}