View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2IntentMessageSimpleResponse (google_api_dialogflow v0.78.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.