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 documentation for the \u003ccode\u003eResponseMessage.Types.PlayAudio\u003c/code\u003e class within the Google Cloud Dialogflow v3 API for .NET, specifically detailing its functionality for playing audio clips in client responses.\u003c/p\u003e\n"],["\u003cp\u003eThe content covers a range of versions from 1.0.0 to the latest 2.23.0 of \u003ccode\u003eResponseMessage.Types.PlayAudio\u003c/code\u003e, offering historical reference documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePlayAudio\u003c/code\u003e class allows users to specify an audio URI for playback and configure whether the audio can be interrupted by user input, providing fine-grained control over audio playback behavior.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showcasing its integration with the Google.Protobuf library.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the \u003ccode\u003ePlayAudio\u003c/code\u003e class, one default constructor, and one that takes in a \u003ccode\u003ePlayAudio\u003c/code\u003e object, as well as two properties, one string (\u003ccode\u003eAudioUri\u003c/code\u003e) and one boolean (\u003ccode\u003eAllowPlaybackInterruption\u003c/code\u003e).\u003c/p\u003e\n"]]],[],null,[]]