feat: implement get group notice

This commit is contained in:
H3CoF6 committed 2026-05-09 04:24:03 +08:00
1 parent 51c2fa285a
commit a0d584375a
6 files changed
+116 -3

No files matched your search

+5
View File
@@ -72,6 +72,7 @@ import {
getGroupEssence as getGroupEssence_,
getGroupEssenceAll as getGroupEssenceAll_,
sendGroupNotice as sendGroupNotice_,
getGroupNotice as getGroupNotice_,
} from './web-actions';
import type { GroupFilesResult } from './bridge-actions';
import type { MediaIndexNode } from './bridge-actions';
@@ -480,6 +481,10 @@ export class Bridge {
return sendGroupNotice_(this, groupId, content, options);
}
async getGroupNotice(groupId: number) {
return getGroupNotice_(this, groupId);
}
async fetchGroupFileCount(groupId: number): Promise<{ fileCount: number; maxCount: number }> { return fetchGroupFileCount_(this, groupId); }
}