SevenShores\Hubspot\Resources\SocialMedia::getChannelById PHP Method

getChannelById() public method

Get a broadcast channel.
public getChannelById ( string $channel_guid ) : Response
$channel_guid string
return SevenShores\Hubspot\Http\Response
    function getChannelById($channel_guid)
    {
        $endpoint = "https://api.hubapi.com/broadcast/v1/channels/{$channel_guid}";
        return $this->client->request('get', $endpoint);
    }