public sealed class SimpleResponse : IMessage<Intent.Types.Message.Types.SimpleResponse>, IEquatable<Intent.Types.Message.Types.SimpleResponse>, IDeepCloneable<Intent.Types.Message.Types.SimpleResponse>, IBufferMessage, IMessage
The simple response message containing speech or text.
Implements
IMessage<Intent.Types.Message.Types.SimpleResponse>, IEquatable<Intent.Types.Message.Types.SimpleResponse>, IDeepCloneable<Intent.Types.Message.Types.SimpleResponse>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
SimpleResponse()
public SimpleResponse()
SimpleResponse(Intent.Types.Message.Types.SimpleResponse)
public SimpleResponse(Intent.Types.Message.Types.SimpleResponse other)
Parameter | |
---|---|
Name | Description |
other | Intent.Types.Message.Types.SimpleResponse |
Properties
DisplayText
public string DisplayText { get; set; }
Optional. The text to display.
Property Value | |
---|---|
Type | Description |
String |
Ssml
public string Ssml { get; set; }
One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
Property Value | |
---|---|
Type | Description |
String |
TextToSpeech
public string TextToSpeech { get; set; }
One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
Property Value | |
---|---|
Type | Description |
String |