Hi chatbot developers, Can you please help me to use openMinChat() function with an small example or resource?
https://cloud.google.com/dialogflow/cx/docs/concept/integration/dialogflow-messenger/javascript-func...
Thank you
Hi,
I will suggest trying the code sample that exists in the documentation. This method takes the chat widget and opens it in a minimized version:
const dfMessengerChatBubble = document.querySelector('df-messenger-chat-bubble');
dfMessengerChatBubble.openMinChat({
anchor: 'top-left'
});