feat: GoCQHTTPDeleteFriend

This commit is contained in:
手瓜一十雪 committed 2024-10-26 10:36:41 +08:00
1 parent 90f6896f3c
commit 7416e6caf6
4 files changed
+48 -2

No files matched your search

+7 -1
View File
@@ -34,7 +34,13 @@ export class NTQQFriendApi {
data.forEach((value) => retMap.set(value.uin!, value.uid!));
return retMap;
}
async delBuudy(uid: string, tempBlock = false, tempBothDel = false) {
return this.context.session.getBuddyService().delBuddy({
friendUid: uid,
tempBlock: tempBlock,
tempBothDel: tempBothDel
});
}
async getBuddyV2ExWithCate(refresh = false) {
const categoryMap: Map<string, any> = new Map();
const buddyService = this.context.session.getBuddyService();