NapCatQQ/packages/napcat-onebot
Makoto f3de4d48d3
feat: add settings field to group notice API response (#1505)
* feat: add settings field to group notice API response

- Add settings field to GroupNotice interface
- Include announcement configuration options (is_show_edit_card, remind_ts, tip_window_type, confirm_required)
- Fixes #1503

* refactor: make settings field optional for backward compatibility

- Mark settings as optional in GroupNotice interface
- Mark settings as optional in WebApiGroupNoticeFeed type
- Prevents runtime errors when processing older or malformed notices
- Addresses code review feedback on PR #1505

* Update GetGroupNotice.ts

---------

Co-authored-by: 手瓜一十雪 <nanaeonn@outlook.com>
2026-01-13 16:32:03 +08:00
..
action feat: add settings field to group notice API response (#1505) 2026-01-13 16:32:03 +08:00
api Add convertToNTSilkTct to FFmpeg adapters and update usage (#1517) 2026-01-13 16:18:32 +08:00
config feat: 大规模去耦合 2025-11-15 13:36:33 +08:00
event feat: Add OB11GroupGrayTipEvent for detecting forged gray tip attacks (#1492) 2026-01-02 20:55:24 +08:00
helper refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
network feat: 大规模去耦合 2025-11-15 13:36:33 +08:00
types refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
index.ts Add ESLint config and update code style 2025-11-15 16:21:59 +08:00
package.json feat: 所有的类型检查 2025-11-15 12:57:19 +08:00
tsconfig.json Refactor TypeScript configs to use shared base 2025-11-15 14:00:27 +08:00