/// <summary> /// Modifies a call party by ID. There is a known limitation for Mute scenario - mute via REST API doesn't work with /// mute placed via RingCentral apps or HardPhone. It means that if you muted participant via Call Control API and /// Ringcentral Desktop app you need to unmute both endpoints to bring the media back. /// HTTP Method: patch /// Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId} /// Rate Limit Group: Light /// App Permission: CallControl /// </summary> public async Task <CallParty> Patch(PartyUpdateRequest partyUpdateRequest, RestRequestConfig restRequestConfig = null) { if (partyId == null) { throw new ArgumentException("Parameter cannot be null", nameof(partyId)); } return(await rc.Patch <CallParty>(Path(), partyUpdateRequest, null, restRequestConfig)); }
/// <summary> /// Modifies a call party by ID. There is a known limitation for Mute scenario - mute via REST API doesn't work with /// mute placed via RingCentral apps or HardPhone. It means that if you muted participant via Call Control API and /// Ringcentral Desktop app you need to unmute both endpoints to bring the media back. /// HTTP Method: patch /// Endpoint: /restapi/{apiVersion}/account/{accountId}/telephony/sessions/{telephonySessionId}/parties/{partyId} /// Rate Limit Group: Light /// App Permission: CallControl /// </summary> public async Task <CallParty> Patch(PartyUpdateRequest partyUpdateRequest, RestRequestConfig restRequestConfig = null) { return(await rc.Patch <CallParty>(Path(), partyUpdateRequest, null, restRequestConfig)); }