jmessage-react-plugin 问题

hongzao
2017-12-18 10:45 1.9k 0

jpush/jmessage-react-plugin问题

JMessage.resetUnreadMessageCount

重置会话的未读消息数。

参数也是按照这样的
type: 会话类型。可以为 'single' 或 'group'。
username: 对方用户的用户名。当 type 为 'single' 时,username 为必填。
appKey: 对方用户所属应用的 AppKey。如果不填,默认为当前应用。
groupId: 对象群组 id。当 type 为 'group' 时,groupId 为必填。

结果成功了,成功回调的参数为空!但未读数并没有被重置

1个回答

热门排序