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/lexruntime.ts?docs=full";

Represents an option to be shown on the client platform (Facebook, Slack, etc.)

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

§Properties

§
text: string
[src]

Text that is visible to the user on the button.

§
value: string
[src]

The value sent to Amazon Lex when a user chooses the button. For example, consider button text "NYC." When the user chooses the button, the value sent can be "New York City."