This commit is contained in:
tiago.kayaya
2021-01-20 10:23:59 +01:00
parent 874133d28e
commit 38765d4da9
99 changed files with 2696 additions and 18069 deletions
+7 -1
View File
@@ -171,7 +171,7 @@ export class ChatService {
}
return this.http.get(url, opts);
}
/* MESSAGES */
/* GROUP MESSAGES */
getPrivateGroupMessages(roomId:any){
let params = new HttpParams();
@@ -194,5 +194,11 @@ export class ChatService {
}
return this.http.get(environment.apiChatUrl+'channels.history', opts);
}
closeGroup(body:any){
return this.http.post(environment.apiChatUrl+'groups.close', body, this.options);
}
closeChannel(body:any){
return this.http.post(environment.apiChatUrl+'channels.close', body, this.options);
}
}