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\u003eThe \u003ccode\u003ePlayAudio\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3\u003c/code\u003e namespace is used to specify an audio clip for the client to play as part of the response.\u003c/p\u003e\n"],["\u003cp\u003eThis class has been implemented with various versions, ranging from version 1.0.0 to the latest 2.23.0, with each version having it's own page.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePlayAudio\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and 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\u003e\u003ccode\u003ePlayAudio\u003c/code\u003e has two properties, \u003ccode\u003eAllowPlaybackInterruption\u003c/code\u003e, which is a boolean that determines whether the client's audio can be interrupted, and \u003ccode\u003eAudioUri\u003c/code\u003e, which is a string representing the URI for the audio.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors within the class, \u003ccode\u003ePlayAudio()\u003c/code\u003e and \u003ccode\u003ePlayAudio(ResponseMessage.Types.PlayAudio other)\u003c/code\u003e, which is used for constructing and copying instances of \u003ccode\u003ePlayAudio\u003c/code\u003e respectively.\u003c/p\u003e\n"]]],[],null,[]]