feat(onebot): include download urls on group notice images

_get_group_notice already returned picture ids. Add a fetchable url
on each image so callers do not need a separate action.

Fixes #440
This commit is contained in:
DrSmoothl committed 2026-09-13 21:25:59 +08:00
1 parent 201d10c534
commit 7ef256c487
8 files changed
+39 -9

No files matched your search

+2 -2
View File
@@ -66,8 +66,8 @@ export interface GroupNoticeInfo {
publish_time: number;
message: {
text: string;
image: Array<{ id: string; height: number; width: number }>;
images: Array<{ id: string; height: number; width: number }>;
image: Array<{ id: string; url: string; height: number; width: number }>;
images: Array<{ id: string; url: string; height: number; width: number }>;
};
settings: JsonValue;
read_num: number;