差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 后一修订版 两侧同时换到之后的修订记录 | ||
im:web:intro:basic [2019/08/28 07:28] lizg [创建连接] |
im:web:intro:basic [2019/12/25 08:29] lizg [添加回调函数] |
||
---|---|---|---|
行 13: | 行 13: | ||
url: WebIM.config.xmppURL, | url: WebIM.config.xmppURL, | ||
apiUrl: WebIM.config.apiURL, | apiUrl: WebIM.config.apiURL, | ||
- | isAutoLogin: false, | + | isAutoLogin: WebIM.config.isAutoLogin, |
heartBeatWait: WebIM.config.heartBeatWait, | heartBeatWait: WebIM.config.heartBeatWait, | ||
autoReconnectNumMax: WebIM.config.autoReconnectNumMax, | autoReconnectNumMax: WebIM.config.autoReconnectNumMax, | ||
行 67: | 行 67: | ||
console.log(list); | console.log(list); | ||
}, | }, | ||
+ | onRecallMessage: function(message){}, //收到撤回消息回调 | ||
onReceivedMessage: function(message){}, //收到消息送达服务器回执 | onReceivedMessage: function(message){}, //收到消息送达服务器回执 | ||
onDeliveredMessage: function(message){}, //收到消息送达客户端回执 | onDeliveredMessage: function(message){}, //收到消息送达客户端回执 |