A collection of methods related to the Social API
Methods
-
Create a broadcast message
Name Type Description optsobject Properties:
Name Type Description opts.channelGuidstring opts.statusstring opts.triggerAtint opts.bodystring opts.photoUrlstring Returns:
Type Description Promise Example
const hs = new HubspotClient(props); hs.social.createBroadcastMessage(opts).then(response => console.log(response)); -
Get publishing channels for selected portal
Returns:
Type Description Promise Example
const hs = new HubspotClient(props); hs.social.getPublishingChannels().then(response => console.log(response));