public function getChannelInformation()
    {
        try {
            return new Channel(
                Connection::sendCurlRequest(Connection::URL_CHANNEL_INFO, 'GET', ['tag' => $this->channelTag], false,
                    $this->apiKey),
                $this->apiKey
            );
        } catch (Exceptions\ConnectionException $e) {
            if ($e->getCode() === 400) {
                throw new Exceptions\NotFoundException("Channel does not exist.");
            } else {
                throw $e;
            }
        }
    }
public function getChannelInformation()
    {
        try {
            return new Channel(
                Connection::sendCurlRequest(Connection::URL_CHANNEL_INFO, 'GET', ['tag' => $this->channelTag], false,
                    $this->apiKey),
                $this->apiKey
            );
        } catch (Exceptions\ConnectionException $e) {
            if ($e->getCode() === 400) {
                throw new Exceptions\NotFoundException("Channel does not exist.");
            } else {
                throw $e;
            }
        }
    }
public function getChannelInformation ( ) { try { return new Channel ( Connection :: sendCurlRequest ( Connection :: URL_CHANNEL_INFO , 'GET' , [ 'tag' => $ this -> channelTag ] , false , $ this -> apiKey ) , $ this -> apiKey ) ; } catch ( Exceptions \ ConnectionException $ e ) { if ( $ e -> getCode ( ) === 400 ) { throw new Exceptions \ NotFoundException ( "Channel does not exist." ) ; } else { throw $ e ; } } }
Get information about the channel.

Guaranteed to always return channel information, whether or not the user is subscribed to it. It is
recommended to access the properties returned by this method, since they are consistent and always refer to
a channel, and not a subscription.

@return Channel Channel object with information about a particular channel.
@throws Exceptions\ConnectionException
@throws Exceptions\NotFoundException
Get information about the channel .