.Chat.clearData()

This API lets you clear all the existing data in the chat window inclusive of all the past conversations.

Syntax

CopiedZohoSalesIQ.Chat.clearData()