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 spec into an Adaptive Card document, stamped with the runtime’s resolved card version. Runs through the shared executor so a build picks up the app’s telemetry / timeout chain.
Parameters
Section titled “Parameters”actions?
Section titled “actions?”object[] = ...
facts?
Section titled “facts?”object[] = ...
subtitle?
Section titled “subtitle?”string = ...
string = ...
string = ...
signal?
Section titled “signal?”AbortSignal
Returns
Section titled “Returns”Promise<{ card: { $schema: string; actions?: Record<string, unknown>[]; body: Record<string, unknown>[]; type: "AdaptiveCard"; version: string; }; title: string; }>