updateBeInviteMode static method
更新入群模式
Implementation
static Future<bool> updateBeInviteMode(String teamId, bool isNeed) {
NIMTeamUpdateFieldRequest request = NIMTeamUpdateFieldRequest();
request.setBeInviteMode(isNeed
? NIMTeamBeInviteModeEnum.needAuth
: NIMTeamBeInviteModeEnum.noAuth);
return _updateTeam(teamId, request);
}