Function: buildAdaptiveCard()
buildAdaptiveCard(
spec):object
Compile a semantic card spec into a full Adaptive Card document. The result
validates against card.adaptiveCardSchema and is ready to render with
the adaptivecards package or post to a Teams incoming webhook.
Parameters
Section titled “Parameters”actions?
Section titled “actions?”object[] = ...
facts?
Section titled “facts?”object[] = ...
subtitle?
Section titled “subtitle?”string = ...
string = ...
string = ...
Returns
Section titled “Returns”object
$schema
Section titled “$schema”$schema:
string
actions?
Section titled “actions?”
optionalactions?:Record<string,unknown>[]
body:
Record<string,unknown>[]
type:
"AdaptiveCard"
version
Section titled “version”version:
string