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

Button

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

Describes a button to use on a response card used to gather slot values from a user.

interface Button {
text: string;
value: string;
}

§Properties

§
text: string
[src]

The text that appears on the button. Use this to tell the user what value is returned when they choose this button.

§
value: string
[src]

The value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.