A collection of methods related to the Social API
Methods
-
Create a broadcast message
Name Type Description opts
object Properties:
Name Type Description opts.channelGuid
string opts.status
string opts.triggerAt
int opts.body
string opts.photoUrl
string 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));