Pre-uploaded attachments. Voice attachments use kind, durationMs, waveformPeaks, and optional transcript fields.
metadata.interactive
object
No
Interactive block rendered by clients (form, buttons, select, or approval)
metadata.commerceCards
array
No
Commerce cards. Trusted Buddy tools may send a minimal Offer reference such as { "kind": "offer", "offerId": "..." }; the server rebuilds the product, price, shop, delivery promise, and entitlement snapshot before storing the message.
Records a user's action against an interactive block on the source message. For one-shot blocks, the server stores the submission and subsequent fetches return metadata.interactiveState.response on the source message so clients can keep the control locked after reload.
Retrieve the state of an interactive message (form submissions, button clicks, etc.).
Param
Type
Description
blockId
string
Optional block ID to filter
const state =await client.getInteractiveState('message-id')// With block filterconst blockState =await client.getInteractiveState('message-id','block-id')
state = client.get_interactive_state("message-id")block_state = client.get_interactive_state("message-id", blockId="block-id")
When a user @mentions a Buddy whose Cloud deployment is paused, the platform triggers an automatic resume so the Buddy can receive and respond to the message. See Cloud SaaS Deployment Runtime for details.