NapCatQQ/packages/napcat-onebot/action
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
..
extends Refactor and standardize share and message history APIs 2025-11-22 13:14:46 +08:00
file Add convertToNTSilkTct to FFmpeg adapters and update usage (#1517) 2026-01-13 16:18:32 +08:00
go-cqhttp Add upload_file option for file upload actions 2026-01-03 16:25:38 +08:00
group feat: add settings field to group notice API response (#1505) 2026-01-13 16:32:03 +08:00
guild refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
msg Add PTT element type to message element filters 2026-01-03 15:38:13 +08:00
new refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
packet refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
stream Add convertToNTSilkTct to FFmpeg adapters and update usage (#1517) 2026-01-13 16:18:32 +08:00
system refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
test feat: 装饰器与装饰器路由注册 2025-11-14 19:49:13 +08:00
user refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
auto-register.ts Add ESLint config and update code style 2025-11-15 16:21:59 +08:00
index.ts Refactor and standardize share and message history APIs 2025-11-22 13:14:46 +08:00
OneBotAction.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
router.ts Refactor and standardize share and message history APIs 2025-11-22 13:14:46 +08:00