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\u003eThis webpage provides reference documentation for the \u003ccode\u003eResponseMessage.Types.PlayAudio\u003c/code\u003e class within the Dialogflow v3 API, used to specify audio clips in responses.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API for this specific class is 2.23.0, and versions all the way down to 1.0.0 are available for reference.\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, indicating its role in message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, \u003ccode\u003ePlayAudio()\u003c/code\u003e and \u003ccode\u003ePlayAudio(ResponseMessage.Types.PlayAudio other)\u003c/code\u003e, to either create an empty object or one from an existing \u003ccode\u003ePlayAudio\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePlayAudio\u003c/code\u003e class includes two main properties: \u003ccode\u003eAllowPlaybackInterruption\u003c/code\u003e, a boolean indicating if the audio playback can be interrupted, and \u003ccode\u003eAudioUri\u003c/code\u003e, a string that provides the URI for the audio file.\u003c/p\u003e\n"]]],[],null,[]]