public sealed class Intent.Types.Message.Types.SimpleResponse : IMessage<Intent.Types.Message.Types.SimpleResponse>, IEquatable<Intent.Types.Message.Types.SimpleResponse>, IDeepCloneable<Intent.Types.Message.Types.SimpleResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class Intent.Types.Message.Types.SimpleResponse.
The simple response message containing speech or text.
Implements
IMessageIntentTypesMessageTypesSimpleResponse, IEquatableIntentTypesMessageTypesSimpleResponse, IDeepCloneableIntentTypesMessageTypesSimpleResponse, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
SimpleResponse()
public SimpleResponse()
SimpleResponse(SimpleResponse)
public SimpleResponse(Intent.Types.Message.Types.SimpleResponse other)
Parameter | |
---|---|
Name | Description |
other |
IntentTypesMessageTypesSimpleResponse |
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 |