docs(im): document chat.managers and chat.moderation API resources#1294
docs(im): document chat.managers and chat.moderation API resources#1294shifengjuan-dev wants to merge 1 commit into
Conversation
Add SKILL.md entries for the group manager and group moderation (speaking-permission) API-meta resources: - chat.managers.add_managers / delete_managers (指定/删除群管理员) - chat.moderation.get / update (查询/更新群发言权限) Includes the API Resources descriptions and the permission-table scope rows. Invoked via lark-cli im chat.managers/chat.moderation <method>. Change-Id: If269f72d572f276972366bdd4bb97b387dd9ec1d
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR adds documentation for two new IM API resource sections: ChangesIM API Resources and Permissions
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@3fc95417ff0a2194106f9758b11923ad507d465f🧩 Skill updatenpx skills add shifengjuan-dev/lark-cli#feat/chat-managers-moderation -y -g |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1294 +/- ##
==========================================
+ Coverage 70.33% 70.39% +0.06%
==========================================
Files 672 677 +5
Lines 65322 65599 +277
==========================================
+ Hits 45941 46176 +235
- Misses 15728 15757 +29
- Partials 3653 3666 +13 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
Document the group-manager and group-moderation (speaking-permission) API-meta resources in the lark-im skill so they are discoverable for the
lark-cli im <resource> <method>flow. Docs-only; the resource definitions already ship via the generated registry.Changes
### chat.managersAPI Resources section:add_managers(指定群管理员),delete_managers(删除群管理员).### chat.moderationAPI Resources section:get(查询群成员发言权限),update(更新群发言权限).im:chat.managers:write_only,im:chat.moderation:read,im:chat:moderation:write_only).Test Plan
go build ./...passeslark-cli schema im.chat.managers.add_managers/delete_managersandim.chat.moderation.get/updateall resolve with the expected params, body, and output fieldsRelated Issues
Summary by CodeRabbit
Release Notes
add_managers,delete_managers) and moderation operations (get,update). Documentation covers required permission scopes and identity constraints for developers.