docs(im): document chat.nickname get/update/delete#1378
Conversation
Add chat.nickname resource section (self-only, user identity) and its dedicated scope mappings (im:chat.nickname:read / im:chat.nickname:write) to the lark-im skill doc. Change-Id: I066b10f010a660438275d66932a497b9501c26de
📝 WalkthroughWalkthroughAdds documentation for a new ChangesChat nickname API documentation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1378 +/- ##
==========================================
+ Coverage 71.58% 71.97% +0.39%
==========================================
Files 689 696 +7
Lines 65521 65891 +370
==========================================
+ Hits 46901 47424 +523
+ Misses 14972 14811 -161
- Partials 3648 3656 +8 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@02cfbedcf7dc29133f471ed89c6960f0e5c92f12🧩 Skill updatenpx skills add shifengjuan-dev/lark-cli#feat/im-chat-nickname -y -g |
What
Document the
chat.nicknameresource in thelark-imskill doc.### chat.nicknamesection coveringget/update/delete(self-only,useridentity /user_access_token).chat.nickname.get→im:chat.nickname:readchat.nickname.update→im:chat.nickname:writechat.nickname.delete→im:chat.nickname:writeWhy
The
chat.nicknameresource already exists ininternal/registry/meta_data.json(GET/PUT/DELETE /open-apis/im/v1/chats/{chat_id}/nickname) but was undocumented in the skill. This brings the doc in line with the registry. Scopes match the method definitions inmeta_data.json.Docs-only change; no code or registry modification.
Summary by CodeRabbit
get,update, anddelete. These methods allow users to manage their own nicknames within chats.