feat: 群文件转存永久

This commit is contained in:
Clansty
2025-04-08 04:40:34 +08:00
parent 68f5deedff
commit 4180c2d754
6 changed files with 55 additions and 3 deletions

View File

@@ -218,6 +218,10 @@ export class NTQQGroupApi {
return this.context.session.getRichMediaService().deleteGroupFolder(groupCode, folderId);
}
async transGroupFile(groupCode: string, fileId: string) {
return this.context.session.getRichMediaService().transGroupFile(groupCode, fileId);
}
async addGroupEssence(groupCode: string, msgId: string) {
const MsgData = await this.context.session.getMsgService().getMsgsIncludeSelf({
chatType: 2,