Google Cloud Dialogflow v2beta1 API - Class TextInput (1.0.0-beta12)

public sealed class TextInput : IMessage<TextInput>, IEquatable<TextInput>, IDeepCloneable<TextInput>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class TextInput.

Represents the natural language text to be processed.

Inheritance

object > TextInput

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

TextInput()

public TextInput()

TextInput(TextInput)

public TextInput(TextInput other)
Parameter
NameDescription
otherTextInput

Properties

LanguageCode

public string LanguageCode { get; set; }

Required. The language of this conversational query. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.

Property Value
TypeDescription
string

Text

public string Text { get; set; }

Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters for virtual agent interactions.

Property Value
TypeDescription
string