Skip to content

feat: document IM message read status APIs#1897

Draft
os-zzw wants to merge 1 commit into
larksuite:mainfrom
os-zzw:feat/im-message-read-status-cli
Draft

feat: document IM message read status APIs#1897
os-zzw wants to merge 1 commit into
larksuite:mainfrom
os-zzw:feat/im-message-read-status-cli

Conversation

@os-zzw

@os-zzw os-zzw commented Jul 15, 2026

Copy link
Copy Markdown

Summary

Document the new IM batch read-status command and the existing read-users command user-token support. This PR is draft until the corresponding larksuite-cli-registry change is merged and published.

Changes

  • Add lark-im discovery entries for messages.batch_get_read_status and user-mode messages.read_users
  • Add identity, scope, request, response, and unexpected-status guidance

Test Plan

  • make build
  • make unit-test
  • go test ./internal/registry ./cmd/service
  • go vet ./...
  • Manual dry-run confirms im messages read_users builds the expected user GET request
  • Manual validation confirms batch_get_read_status rejects bot identity

Related Issues

Merge Order

  1. Merge and publish the registry MR.
  2. Mark this PR ready and merge the CLI documentation update.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 296da1de-cf54-4dba-baa0-c6cd11733aaa

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added domain/im PR touches the im domain size/M Single-domain feat or fix with limited business impact labels Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain/im PR touches the im domain size/M Single-domain feat or fix with limited business impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants