GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse (google_api_dialogflow v0.66.2) View Source

The simple response message containing speech or text.

Attributes

  • displayText (type: String.t, default: nil) - Optional. The text to display.
  • ssml (type: String.t, default: nil) - 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.
  • textToSpeech (type: String.t, default: nil) - One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse{
    displayText: String.t() | nil,
    ssml: String.t() | nil,
    textToSpeech: String.t() | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.