Skip to content

feat(calendar): add +rsvp shortcut to accept/decline event invitations#95

Open
gang0828 wants to merge 3 commits intolarksuite:mainfrom
gang0828:feat/calendar-rsvp-94
Open

feat(calendar): add +rsvp shortcut to accept/decline event invitations#95
gang0828 wants to merge 3 commits intolarksuite:mainfrom
gang0828:feat/calendar-rsvp-94

Conversation

@gang0828
Copy link
Copy Markdown

Summary

  • Add new calendar +rsvp shortcut command for replying to calendar event invitations
  • Supports three RSVP statuses: accept, decline, tentative
  • Calls POST /open-apis/calendar/v4/calendars/:calendar_id/events/:event_id/reply

Usage

# Accept an event
lark-cli calendar +rsvp --event-id "xxx_0" --status accept

# Decline an event
lark-cli calendar +rsvp --event-id "xxx_0" --status decline

# Mark as tentative
lark-cli calendar +rsvp --event-id "xxx_0" --status tentative

# With specific calendar ID
lark-cli calendar +rsvp --event-id "xxx_0" --status accept --calendar-id "denggang@example.com"

Closes #94

Test plan

  • Build and verify lark-cli calendar +rsvp --help shows correct flags
  • Test --dry-run outputs correct API request
  • Test accepting a pending event invitation and verify RSVP status changes
  • Test declining and tentative statuses
  • Test with explicit --calendar-id parameter
  • Test validation: invalid --status value returns error

🤖 Generated with Claude Code

Adds a new `calendar +rsvp` shortcut command that allows users to reply
to calendar event invitations with accept, decline, or tentative status.

Closes larksuite#94

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@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.

laoqie828 and others added 2 commits March 30, 2026 17:53
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Support accepting/declining calendar event invitations (RSVP)

3 participants