Skip to content

Function: buildCard()

buildCard(spec, signal?): Promise<{ card: { $schema: string; actions?: Record<string, unknown>[]; body: Record<string, unknown>[]; type: "AdaptiveCard"; version: string; }; title: string; }>

Compile a card with isolated environment-derived config and direct execution. Use buildCardWithRuntime to reuse an explicit runtime.

object[] = ...

object[] = ...

string = ...

string = ...

string = ...

AbortSignal

Promise<{ card: { $schema: string; actions?: Record<string, unknown>[]; body: Record<string, unknown>[]; type: "AdaptiveCard"; version: string; }; title: string; }>