Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SimpleResponse

Hierarchy

Implements

Constructors

Properties

Constructors

constructor

Properties

Optional displayText

displayText: undefined | string

Optional text to display in the chat bubble. If not given, a display rendering of the text_to_speech or ssml above will be used. Limited to 640 chars.

Optional ssml

ssml: undefined | string

Structured spoken response to the user in the SSML format, e.g. <speak> Say animal name after the sound. <audio src = 'https://www.pullstring.com/moo.mps' />, what’s the animal? </speak>. Mutually exclusive with text_to_speech.

Optional textToSpeech

textToSpeech: undefined | string

Plain text of the speech output, e.g., "where do you want to go?" Mutually exclusive with ssml.

Generated using TypeDoc