NapCatQQ/packages/napcat-onebot/action/group
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
..
DelEssenceMsg.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
DelGroupNotice.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
GetAiRecord.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
GetGroupDetailInfo.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
GetGroupEssence.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
GetGroupIgnoredNotifies.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
GetGroupInfo.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
GetGroupList.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
GetGroupMemberInfo.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
GetGroupMemberList.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
GetGroupNotice.ts feat: add settings field to group notice API response (#1505) 2026-01-13 16:32:03 +08:00
GetGroupShutList.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
SendGroupAiRecord.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
SendGroupMsg.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
SetEssenceMsg.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
SetGroupAddRequest.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
SetGroupAdmin.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
SetGroupBan.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
SetGroupCard.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
SetGroupKick.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
SetGroupLeave.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
SetGroupName.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
SetGroupWholeBan.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00