From fc73295520747ed7218644786b46c8373ebabb86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Mon, 26 Aug 2024 00:09:07 +0800 Subject: [PATCH] build: 2.2.9 --- src/onebot/action/group/GetGroupNotice.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/onebot/action/group/GetGroupNotice.ts b/src/onebot/action/group/GetGroupNotice.ts index 7dbf4ab4..1cbab158 100644 --- a/src/onebot/action/group/GetGroupNotice.ts +++ b/src/onebot/action/group/GetGroupNotice.ts @@ -6,6 +6,7 @@ import { FromSchema, JSONSchema } from 'json-schema-to-ts'; interface GroupNotice { sender_id: number; publish_time: number; + feed_id: string; message: { text: string image: Array<{ @@ -44,7 +45,8 @@ export class GetGroupNotice extends BaseAction { for (const key in ret.feeds) { const retApiNotice: WebApiGroupNoticeFeed = ret.feeds[key]; const retNotice: GroupNotice = { - // ...ret.feeds[key], + //...ret.feeds[key], + feed_id: retApiNotice.fid, sender_id: retApiNotice.u, publish_time: retApiNotice.pubt, message: {