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

+10
View File
@@ -334,3 +334,13 @@ export const NTV2UploadRichMediaRespSchema = {
respHead: { field: 1, type: 'message' as const, schema: NTV2UploadRespHeadSchema },
upload: { field: 2, type: 'message' as const, schema: NTV2UploadRespBodySchema },
} satisfies ProtoSchema;
// --- Group Avatar Upload Extend ---
export const GroupAvatarUploadExtSchema = {
field1: { field: 1, type: 'uint32' as const },
groupId: { field: 2, type: 'uint64' as const },
field3: { field: 3, type: 'bytes' as const },
field5: { field: 5, type: 'uint32' as const },
field6: { field: 6, type: 'uint32' as const },
} satisfies ProtoSchema;