聆客开放平台

# getUnreadMessageCountById

获取指定帐号id的未读消息数。

# 输入

继承标准对象输入,扩展属性描述

名称 数据类型 必填 默认值 描述
talkWithId string 这里的帐号包括:用户的id,服务号的id,部门的id,群组的id

# 输出

继承标准对象输出,无扩展属性

# 示例代码

app.link.getUnreadMessageCountById(function(result){
     alert(result);
 }, 'ebdfe3b1-ed9c-425b-aac3-aa6c61d05d0e');