updateTeamName static method

Future<bool> updateTeamName(
  1. String teamId,
  2. String name
)

更新群名

Implementation

static Future<bool> updateTeamName(String teamId, String name) {
  NIMTeamUpdateFieldRequest request = NIMTeamUpdateFieldRequest();
  request.setName(name);
  return _updateTeam(teamId, request);
}