Class SimpleResponse (2.18.0)

SimpleResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The simple response message containing speech or text.

Attributes

NameDescription
text_to_speech str
One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
ssml str
One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
display_text str
Optional. The text to display.