- Installation
- Push Notification
- Customization
- Rest API
- API Reference
- Launcher Button Customization
- 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
- Conversation
- Knowledge Base
- FAQ
- SDK 2.x, 3.x
- SDK 1.x
- Download Sample App
- Release Notes
- Additional Features
Chat.setDepartment()
This API lets you set a default department to which you would like to route all the chat requests placed by the visitors.
Note: If you opt to use this API the department field in the pre-chat window will automatically be hidden.
Syntax:
CopiedZohoSalesIQ.Chat.setDepartment(String departmentName)
Example:
CopiedZohoSalesIQ.Chat.setDepartment("ZylkerSales")
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.