|
@@ -117,9 +117,12 @@ var WsApi = (function (_super) {
|
117
|
117
|
WsApi.prototype.removeBlackList = function (userIds) {
|
118
|
118
|
return this.sendPostCmdMsg('removeBlackList', userIds);
|
119
|
119
|
};
|
120
|
|
- WsApi.prototype.deleteConversation = function (contactId, delete_message) {
|
121
|
|
- if (delete_message === void 0) { delete_message = false; }
|
122
|
|
- return this.request('/v1/delete/conversation', { contact: contactId, delete_message: delete_message });
|
|
120
|
+ WsApi.prototype.deleteConversation = function (contactId, deleteMessage) {
|
|
121
|
+ if (deleteMessage === void 0) { deleteMessage = false; }
|
|
122
|
+ return this.request('/v1/delete/conversation', {
|
|
123
|
+ contact: contactId,
|
|
124
|
+ delete_message: deleteMessage
|
|
125
|
+ });
|
123
|
126
|
};
|
124
|
127
|
WsApi.prototype.listGroups = function () {
|
125
|
128
|
return this.sendGetCmdMsg('listGroups');
|