add new owner feature uncompleted

This commit is contained in:
tiago.kayaya
2022-01-24 19:09:26 +01:00
parent e65b91ab08
commit c6ec2abc1f
11 changed files with 659 additions and 261 deletions
+8
View File
@@ -273,6 +273,14 @@ export class ChatService {
return this.http.post(environment.apiChatUrl+'channels.kick', body, opts);
}
addChannelOwner(body:any){
return this.http.post(environment.apiChatUrl+'channels.addOwner', body, this.options);
}
addGroupOwner(body:any){
return this.http.post(environment.apiChatUrl+'groups.addOwner', body, this.options);
}
deleteGroup(body:any){
return this.http.post(environment.apiChatUrl+'groups.delete', body, this.options);
}