Add group announcement edit permissions

This commit is contained in:
richjohnrambo
2026-09-04 11:09:29 +08:00
parent 62af772260
commit a191ca0c93
3 changed files with 50 additions and 4 deletions
+1 -1
View File
@@ -1500,7 +1500,7 @@ X-MeetingIM-APIKey: <预置的普通 API Key>
**状态:新增。**
- 查询最新公告:`GET /v1/im/groups/{topic}/announcements/latest`;发布/更新:`PUT /v1/im/groups/{topic}/announcements/current`,Body `{"content":"...","version":1}`。
- 返回 `announcement_id,content,author,version,published_at`。仅有权限角色可写,使用乐观锁防覆盖。
- 返回 `announcement_id,topic,content,author,version,published_at,permissions.can_edit`;即使暂无公告也返回空公告和编辑权限。仅有权限角色可写,使用乐观锁防覆盖。
- 发布成功后服务端生成 `group.announcement.updated` 群业务事件;顶部摘要使用接口返回数据,不解析聊天文本猜测。
### 6.8 群公告状态/邀请进群申请同时存在.png