Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WorkflowConversationMessage

Represents a message in the workflow conversation (multi-turn).

Hierarchy

  • WorkflowConversationMessage

Index

Properties

adaptiveCardInputs?: Record<string, Record<string, string>>

Agent-entered input values for the adaptive card(s) within this message. Keyed by card (cardUid/elementUid, with a positional fallback) → input id → value, because a single message can carry more than one adaptive card and each must keep its own inputs. Persisted alongside the rest of the workflow space state so values survive re-renders, navigation, and browser refresh.

adaptiveCardSubmitted?: Record<string, boolean>

Submit-lock for the adaptive card(s) within this message, keyed by card (cardUid/elementUid, with a positional fallback). true once the agent has successfully submitted that specific card, so it renders locked (non-interactive) and the lock survives re-renders, navigation, and a browser refresh. Keying by card (not just the message) means submitting one card never disables a sibling card in the same message.

adaptiveCards?: WorkflowAdaptiveCardSchema[]

Adaptive card schemas for rich content

Card type - Text or AdaptiveCard

content?: string[]

Message content for text responses (array of strings)

messageId: string

Unique message identifier

textContent?: string

Text content as single string (for display)

timestamp: string

Timestamp of the message

type: "system" | "agent"

Message type: from the system/workflow or from the agent

Generated using TypeDoc