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:
8 files changed
+39
-9
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user