Function: buildCardResult()
buildCardResult(
spec):object
Compile a spec into the tool/route result shape: the validated Adaptive Card document plus the title echoed back for a caller that wants a label without re-reading the document.
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
card:
object
card.$schema
Section titled “card.$schema”$schema:
string
card.actions?
Section titled “card.actions?”
optionalactions?:Record<string,unknown>[]
card.body
Section titled “card.body”body:
Record<string,unknown>[]
card.type
Section titled “card.type”type:
"AdaptiveCard"
card.version
Section titled “card.version”version:
string
title:
string