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

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
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