public function hold($channelId)
    {
        $uri = "channels/$channelId/hold";
        try {
            $this->client->getEndpoint()->post($uri);
        } catch (RequestException $e) {
            $this->processRequestException($e);
        }
    }
public function hold($channelId)
    {
        $uri = "channels/$channelId/hold";
        try {
            $this->client->getEndpoint()->post($uri);
        } catch (RequestException $e) {
            $this->processRequestException($e);
        }
    }
public function hold ( $ channelId ) { $ uri = "channels/$channelId/hold" ; try { $ this -> client -> getEndpoint ( ) -> post ( $ uri ) ; } catch ( RequestException $ e ) { $ this -> processRequestException ( $ e ) ; } }
Hold a channel.

@param string $channelId Channel's id
@throws NotFoundException
@throws ConflictException
Hold a channel .