Hi, I would like to hide the button of the widget once I clicked on the chat button for my livechat. I used the LiveChat Widget api :
RocketChat(function() {
this.onChatMaximized(function() {
// do whatever you want
//document.getElementsByClassName(".button–icon__1XYQW").style.visibility = hidden; or
document.getElementsByClassName(".button–icon__1XYQW").style.display = none ;
});
});
but I cant get the class name of the button.How Can I possibly implement this. Thanks