string- Raw text, passed through as-is to the platform{ raw: string }- Explicit raw text, passed through as-is{ markdown: string }- Markdown text, converted to platform format{ ast: Root }- mdast AST, converted to platform format{ card: CardElement }- Rich card with buttons (Block Kit / Adaptive Cards / GChat Cards)CardElement- Direct card elementAsyncIterable<string>- Streaming text (e.g., from AI SDK’s textStream)AsyncIterable<string | StreamEvent>- AI SDK fullStream or TanStack AIchat()stream (auto-detected, extracts text with step separators)
index Type Aliases
PostableMessage
A message that can be posted to a thread.