Message
import type { Message } from "https://aws-api.deno.dev/v0.4/services/lexmodelsv2.ts?docs=full";
The object that provides message text and it's type.
interface Message {
customPayload?: CustomPayload | null;
imageResponseCard?: ImageResponseCard | null;
plainTextMessage?: PlainTextMessage | null;
ssmlMessage?: SSMLMessage | null;
}§Properties
§
customPayload?: CustomPayload | null
[src]A message in a custom format defined by the client application.
§
imageResponseCard?: ImageResponseCard | null
[src]A message that defines a response card that the client application can show to the user.
§
plainTextMessage?: PlainTextMessage | null
[src]A message in plain text format.
§
ssmlMessage?: SSMLMessage | null
[src]A message in Speech Synthesis Markup Language (SSML).