public sealed class ResponseMessage.Types.PlayAudio : IMessage<ResponseMessage.Types.PlayAudio>, IEquatable<ResponseMessage.Types.PlayAudio>, IDeepCloneable<ResponseMessage.Types.PlayAudio>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class ResponseMessage.Types.PlayAudio.
Specifies an audio clip to be played by the client as part of the response.
public bool AllowPlaybackInterruption { get; set; }
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe page provides documentation for the \u003ccode\u003eResponseMessage.Types.PlayAudio\u003c/code\u003e class within the Google Cloud Dialogflow CX v3 API, detailing how to specify an audio clip to be played in responses.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003ePlayAudio\u003c/code\u003e class has a public constructor and another that accepts a \u003ccode\u003eResponseMessage.Types.PlayAudio\u003c/code\u003e object for initialization, supporting the implementation of several interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePlayAudio\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two key properties: \u003ccode\u003eAllowPlaybackInterruption\u003c/code\u003e, which determines if the user can interrupt the audio, and \u003ccode\u003eAudioUri\u003c/code\u003e, which is the required URI of the audio clip.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists multiple versions of the documentation, from version 1.0.0 to the latest version 2.23.0, all related to the same class, allowing you to read about each version's changes.\u003c/p\u003e\n"]]],[],null,[]]