build: 2.2.7

DelGroupNotice
This commit is contained in:
手瓜一十雪
2024-08-24 23:50:05 +08:00
parent 4c69c6d9fd
commit 3d09d45423
5 changed files with 36 additions and 1 deletions

View File

@@ -224,6 +224,10 @@ export class NTQQGroupApi {
async kickMemberV2Inner(param: kickMemberV2Req) {
return this.context.session.getGroupService().kickMemberV2(param);
}
async deleteGroupBulletin(GroupCode: string, feedId: string) {
const _Pskey = (await this.core.apis.UserApi.getPSkey(['qun.qq.com'])).domainPskeyMap.get('qun.qq.com')!;
return this.context.session.getGroupService().deleteGroupBulletin(GroupCode, _Pskey, feedId);
}
async quitGroupV2(GroupCode: string, needDeleteLocalMsg: boolean) {
let param = {
groupCode: GroupCode,