Google Cloud Dialogflow v2 API - Class Intent.Types.Message.Types.SimpleResponse (4.18.0)

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 v2 API class Intent.Types.Message.Types.SimpleResponse.

The simple response message containing speech or text.

Inheritance

object > Intent.Types.Message.Types.SimpleResponse

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

SimpleResponse()

public SimpleResponse()

SimpleResponse(SimpleResponse)

public SimpleResponse(Intent.Types.Message.Types.SimpleResponse other)
Parameter
NameDescription
otherIntentTypesMessageTypesSimpleResponse

Properties

DisplayText

public string DisplayText { get; set; }

Optional. The text to display.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
string