Class TextInput

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

Represents the natural language text to be processed.

Inheritance

Object > TextInput

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.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.

Property Value
TypeDescription
String