ResponseCard
import type { ResponseCard } from "https://aws-api.deno.dev/v0.4/services/lexruntime.ts?docs=full";
If you configure a response card when creating your bots, Amazon Lex substitutes the session attributes and slot values that are available, and then returns it.
The response card can also come from a Lambda function ( dialogCodeHook
and fulfillmentActivity
on an intent).
interface ResponseCard {
contentType?: ContentType | null;
genericAttachments?: GenericAttachment[] | null;
version?: string | null;
}§Properties
§
contentType?: ContentType | null
[src]The content type of the response.
§
genericAttachments?: GenericAttachment[] | null
[src]An array of attachment objects representing options.