how to use hubspot Conversations sdk on typescript/angualr program?

I got some javascript code form Accounts Dashboard | HubSpot

window.HubSpotConversations.widget.load();

window.HubSpotConversations.widget.refresh();

window.HubSpotConversations.widget.open();

window.HubSpotConversations.widget.close();

Now I want to hide or show HubSpot chat bubble on different pages on a typescript/angualr program, any idea about it? thanks in advance

Hi @ClChan ,

Kindly use this documentation for conversation sdk:

Hope this helps!

If we were able to answer your query, kindly help the community by marking it as a solution.
Thanks and Regards.