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

Specifies an audio clip to be played by the client as part of the response.

Attributes

  • allowPlaybackInterruption (type: boolean(), default: nil) - Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
  • audioUri (type: String.t, default: nil) - Required. URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio{
    allowPlaybackInterruption: boolean() | nil,
    audioUri: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.