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

GenericAttachment

import type { GenericAttachment } from "https://aws-api.deno.dev/v0.4/services/lexruntime.ts?docs=full";

Represents an option rendered to the user when a prompt is shown. It could be an image, a button, a link, or text.

interface GenericAttachment {
attachmentLinkUrl?: string | null;
buttons?: Button[] | null;
imageUrl?: string | null;
subTitle?: string | null;
title?: string | null;
}

§Properties

§
attachmentLinkUrl?: string | null
[src]

The URL of an attachment to the response card.

§
buttons?: Button[] | null
[src]

The list of options to show to the user.

§
imageUrl?: string | null
[src]

The URL of an image that is displayed to the user.

§
subTitle?: string | null
[src]

The subtitle shown below the title.

§
title?: string | null
[src]

The title of the option.