leave group finished

This commit is contained in:
tiago.kayaya
2021-04-20 17:18:57 +01:00
parent 83ad684a8d
commit 55a15e4c14
8 changed files with 57 additions and 5 deletions
+6
View File
@@ -211,6 +211,12 @@ export class ChatService {
closeChannel(body:any){
return this.http.post(environment.apiChatUrl+'channels.close', body, this.options);
}
leaveGroup(body:any){
return this.http.post(environment.apiChatUrl+'groups.leave', body, this.options);
}
leaveChannel(body:any){
return this.http.post(environment.apiChatUrl+'channels.leave', body, this.options);
}
removeChannelMember(body:any){
let opts = {
headers: this.headers,