public sealed class PlayAudio : IMessage<ResponseMessage.Types.PlayAudio>, IEquatable<ResponseMessage.Types.PlayAudio>, IDeepCloneable<ResponseMessage.Types.PlayAudio>, IBufferMessage, IMessage
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\u003eThis webpage details the \u003ccode\u003ePlayAudio\u003c/code\u003e class, which is part of the \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3\u003c/code\u003e namespace and is designed to specify an audio clip to be played by a client as part of a response.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePlayAudio\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for complex interactions and manipulations of audio within the Dialogflow framework.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors, one default and another that accepts a \u003ccode\u003eResponseMessage.Types.PlayAudio\u003c/code\u003e object, which supports copying and creating instances of \u003ccode\u003ePlayAudio\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePlayAudio\u003c/code\u003e class has properties for \u003ccode\u003eAllowPlaybackInterruption\u003c/code\u003e, to determine if user speech can interrupt the audio clip, and \u003ccode\u003eAudioUri\u003c/code\u003e, to define the location of the audio clip to be played.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides a list of available versions for \u003ccode\u003ePlayAudio\u003c/code\u003e, ranging from the latest version \u003ccode\u003e2.23.0\u003c/code\u003e down to the initial version \u003ccode\u003e1.0.0\u003c/code\u003e, allowing you to view previous versions of the class.\u003c/p\u003e\n"]]],[],null,[]]