Conversation.setVisibility()
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.
PARAMETERS
visibility: visibility of the conversation history window.
Syntax:
CopiedZohoSalesIQ.Conversation.setVisibility(boolean visibility)
Example:
CopiedZohoSalesIQ.Conversation.setVisibility(true);