handleWidgetAction()
This event handler can be used to invoke a method when the visitor either clicks on the chat widget or closes the chat window.
Syntax
CopiedhandleWidgetAction(isOpen: Bool)
Example
CopiedZohoSalesIQ.Admin.setChatHandler(handler: ChatActivityHandler)
Class {Class Name}: ChatActivityHandler
{
override func handleWidgetAction(isOpen: Bool)
{
}
}