- delete group implemented

- add group in progress
This commit is contained in:
tiago.kayaya
2021-01-20 16:58:04 +01:00
parent bae1f89b73
commit 608eee8cc2
77 changed files with 1795 additions and 2388 deletions
@@ -130,6 +130,15 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
value: function getAllRooms() {
return this.http.get(src_environments_environment__WEBPACK_IMPORTED_MODULE_6__["environment"].apiChatUrl + 'rooms.get', this.options);
}
}, {
key: "customsRooms",
value: function customsRooms(params) {
var opts = {
headers: this.headers,
params: params
};
return this.http.get(src_environments_environment__WEBPACK_IMPORTED_MODULE_6__["environment"].apiChatUrl + 'rooms.get', opts);
}
}, {
key: "getAllPrivateGroups",
value: function getAllPrivateGroups() {
@@ -284,6 +293,16 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
value: function closeChannel(body) {
return this.http.post(src_environments_environment__WEBPACK_IMPORTED_MODULE_6__["environment"].apiChatUrl + 'channels.close', body, this.options);
}
}, {
key: "deleteGroup",
value: function deleteGroup(body) {
return this.http.post(src_environments_environment__WEBPACK_IMPORTED_MODULE_6__["environment"].apiChatUrl + 'groups.delete', body, this.options);
}
}, {
key: "deleteChannel",
value: function deleteChannel(body) {
return this.http.post(src_environments_environment__WEBPACK_IMPORTED_MODULE_6__["environment"].apiChatUrl + 'channels.delete', body, this.options);
}
}]);
return ChatService;