Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

§
version?: string | null
[src]

The version of the response card format.