ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
### **查询营业厅内的坐席数** ~~~ getAgentCountArea(areaId: number): string ~~~ **接口说明** 用户查询当前营业厅内的坐席总数以及空闲坐席数 **返回值** 包含当前营业厅内的坐席总数以及空闲坐席数的对象 **接口参数简介** | 名称 | 类型 | 说明 | 是否必须 | | --- | --- | --- | --- | | areaId | number | 营业厅ID | 是 | **示例代码** ~~~ JSONObject jsonObject = AnyChatSDK.getInstance().getAgentCount(agentId); //坐席总数 let agentCount = jsonObject["agentCount"]; //空闲坐席数 let idleAgentCount = jsonObject["idleAgentCount"]; ~~~