feat: implement upload group avatar

This commit is contained in:
H3CoF6 committed 2026-05-14 04:09:55 +08:00
1 parent 00a70b1ccc
commit b176e929b9
6 files changed
+49 -2

No files matched your search

+1
View File
@@ -106,6 +106,7 @@ export interface ApiActionContext {
// Extended NapCat-compatible
setFriendRemark: (userId: number, remark: string) => Promise<void>;
setGroupRemark: (groupId: number, remark: string) => Promise<void>;
setGroupAvatar: (groupId: number, source: string) => Promise<void>;
getGroupFileCount: (groupId: number) => Promise<{ fileCount: number; maxCount: number }>;
setMsgEmojiLike: (messageId: number, emojiId: string, set: boolean) => Promise<void>;
markGroupMsgAsRead: (groupId: number, sequence: number) => Promise<void>;