public function getCheermotes($channelIdentifier = null)
    {
        if (!$this->apiVersionIsGreaterThanV3()) {
            throw new EndpointNotSupportedByApiVersionException();
        }

        if ($channelIdentifier && !is_numeric($channelIdentifier)) {
            throw new InvalidIdentifierException('channel');
        }

        $params = [
            'channel_id' => $channelIdentifier,
        ];

        return $this->get('bits/actions', $params);
    }
public function getCheermotes($channelIdentifier = null)
    {
        if (!$this->apiVersionIsGreaterThanV3()) {
            throw new EndpointNotSupportedByApiVersionException();
        }

        if ($channelIdentifier && !is_numeric($channelIdentifier)) {
            throw new InvalidIdentifierException('channel');
        }

        $params = [
            'channel_id' => $channelIdentifier,
        ];

        return $this->get('bits/actions', $params);
    }
public function getCheermotes ( $ channelIdentifier = null ) { if ( ! $ this -> apiVersionIsGreaterThanV3 ( ) ) { throw new EndpointNotSupportedByApiVersionException ( ) ; } if ( $ channelIdentifier && ! is_numeric ( $ channelIdentifier ) ) { throw new InvalidIdentifierException ( 'channel' ) ; } $ params = [ 'channel_id' => $ channelIdentifier , ] ; return $ this -> get ( 'bits/actions' , $ params ) ; }
Get a list of cheermotes

@param string|int $channelIdentifier
@throws InvalidIdentifierException
@throws EndpointNotSupportedByApiVersionException
@return array|json
Get a list of cheermotes