- Installation
- Push Notification
- Customization
- Rest API
- API Reference
- Zoho SalesIQ
- Launcher
- Conversation
- Chat
- start()
- startWithTrigger()
- setWaitingTime()
- get()
- setTitle()
- setLanguage()
- setDepartment()
- setOperatorEmail()
- setVisibility()
- showOperatorImageInLauncher()
- setVisibility(MbedableComponent)
- showOfflineMessage()
- getList()
- open()
- endSession()
- fetchAttenderImage()
- setListener()
- getDepartments()
- showFeedbackAfterSkip()
- hideQueueTime()
- show()
- Chat Actions
- Calls
- Logger
- Visitor
- Visitor Tracking
- Notification
- Knowledge Base
- FAQ
- SDK 2.x, 3.x
- SDK 1.x
- Download Sample App
- Release Notes
- Additional Features
ZohoSalesIQ.Chat.start()
Note: This API is supported from version 8.0.0.
The ZohoSalesIQ.Chat.start() API allows initiating a new chat or reopening an existing one (closed or missed) using the specified chat ID.
Parameters
- question * - User input or question of the conversation.
- customChatId (Optional) - To open a chat with a custom chat ID or reopen an existing chat one (closed or missed).
- departmentName (Optional) - Department to which the chat should be routed.
- callback (Optional) - The callback to get the result.
Syntax
CopiedZohoSalesIQ.Chat.start(String question, String customChatId, String departmentName, ZohoSalesIQResultCallback<VisitorChat> resultCallback)
Example
CopiedZohoSalesIQ.Chat.start("Hi there, I have a query with your product!", "custom_chat_id", "department_name", result -> {
if (result.isSuccess()) {
// Handle success
} else {
// Handle error
}
});
CopiedZohoSalesIQ.Chat.start("Hi there, I have a query with your product!", "custom_chat_id", "department_name") { result ->
if (result.isSuccess) {
// Handle success
} else {
// Handle error
}
}
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.