.setConversationVisibility()
You can use this API to either enable or disable the conversation history option in the visitor's chat windows.
Note: This API will not work, if you had already disabled the conversation history configuration under the Settings tab in your portal.
Syntax
CopiedZohoSalesIQ.setConversationVisibility(visibility: boolean)
Example
CopiedZohoSalesIQ.setConversationVisibility(true);