public sealed class TextInput : IMessage<TextInput>, IEquatable<TextInput>, IDeepCloneable<TextInput>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class TextInput.
Auxiliary proto messages.
Represents the natural language text to be processed.
Implements
IMessageTextInput, IEquatableTextInput, IDeepCloneableTextInput, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
TextInput()
public TextInput()
TextInput(TextInput)
public TextInput(TextInput other)
Parameter | |
---|---|
Name | Description |
other |
TextInput |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |