Hi!
I was using the HubSpot chat widget, and I noticed one of the features was to check the number of unread conversations. I.e.:
window.HubSpotConversations.on('unreadConversationCountChanged', payload => {
console.log(`New unread count is ${payload.unreadCount}!`);
});
I was wondering what exactly was the way HubSpot determined when a conversation was read and if it was possible to manually trigger a read ourselves.
I ask this because we have built a custom component that wraps around the HubSpot chat widget, and when the chat widget is opened, our desired functionality is to mark the conversation as read.