Text

The text response message.

JSON representation
{
  "text": [
    string
  ],
  "allowPlaybackInterruption": boolean
}
Fields
text[]

string

Required. A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime.

allowPlaybackInterruption

boolean

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-27 UTC.