ImageResponseCard
import type { ImageResponseCard } from "https://aws-api.deno.dev/v0.4/services/lexmodelsv2.ts?docs=full";
A card that is shown to the user by a messaging platform. You define the contents of the card, the card is displayed by the platform.
When you use a response card, the response from the user is constrained to the text associated with a button on the card.
interface ImageResponseCard {
buttons?: Button[] | null;
imageUrl?: string | null;
subtitle?: string | null;
title: string;
}§Properties
§
imageUrl?: string | null
[src]The URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.