Visitor.startChat()

Note: This API was deprecated in version 8.0.0. Use Chat.start() instead.

This API can be used to automatically initiate a chat from the visitor side with a pre-defined message which you can configure using this API, right after the visitor clicks on the chat widget to initiate a chat. 

Syntax:

CopiedZohoSalesIQ.Visitor.startChat(String question)

Example:

CopiedZohoSalesIQ.Visitor.startChat("Hi I need your assistance");