Class Intent.Types.Message.Types.SimpleResponse (3.7.0)

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.

Inheritance

Object > Intent.Types.Message.Types.SimpleResponse

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

SimpleResponse()

public SimpleResponse()

SimpleResponse(Intent.Types.Message.Types.SimpleResponse)

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

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