mirror of
https://github.com/larksuite/cli.git
synced 2026-07-03 14:02:43 +08:00
Previously, im.message.receive events with message_type: interactive surfaced the raw JSON payload as content, requiring callers to manually parse the card schema. This PR introduces a user_dsl renderer (ConvertInteractiveEventContent) that converts interactive card content into structured human-readable text — consistent with how text, post, image, and other message types are already handled. The output format is <card title="..." subtitle="...">...</card>, with each card element type serialised to a readable representation (markdown body, button links, table rows, chart summaries, etc.).