.Chat.setDepartment()
This API lets you put up selected set of departments in the pre-chat form. All the other configured departments will be hidden regardless of their type.
Syntax:
CopiedZohoSalesIQ.Chat.setDepartment(deptname: String)
Example
CopiedZohoSalesIQ.Chat.setDepartment("ZylkerSales")