/// <summary> /// Updates the name and description of the specified team. A team is a chat between 2 and more (unlimited number) /// participants assigned with specific name. /// HTTP Method: patch /// Endpoint: /restapi/{apiVersion}/glip/teams/{chatId} /// Rate Limit Group: Medium /// App Permission: TeamMessaging /// User Permission: UnifiedAppDesktop /// </summary> public async Task <GlipTeamInfo> Patch(GlipPatchTeamBody glipPatchTeamBody, RestRequestConfig restRequestConfig = null) { if (chatId == null) { throw new ArgumentException("Parameter cannot be null", nameof(chatId)); } return(await rc.Patch <GlipTeamInfo>(Path(), glipPatchTeamBody, null, restRequestConfig)); }
/// <summary> /// Updates the name and description of the specified team. A team is a chat between 2 and more (unlimited number) /// participants assigned with specific name. /// HTTP Method: patch /// Endpoint: /restapi/{apiVersion}/glip/teams/{chatId} /// Rate Limit Group: Medium /// App Permission: Glip /// User Permission: Glip /// </summary> public async Task <GlipTeamInfo> Patch(GlipPatchTeamBody glipPatchTeamBody, RestRequestConfig restRequestConfig = null) { return(await rc.Patch <GlipTeamInfo>(Path(), glipPatchTeamBody, null, restRequestConfig)); }