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

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

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

Represents a part of a message possibly annotated with an entity. The part can be an entity or purely a part of the message between two entities or message start/end.

Inheritance

object > AnnotatedMessagePart

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

AnnotatedMessagePart()

public AnnotatedMessagePart()

AnnotatedMessagePart(AnnotatedMessagePart)

public AnnotatedMessagePart(AnnotatedMessagePart other)
Parameter
Name Description
other AnnotatedMessagePart

Properties

EntityType

public string EntityType { get; set; }

Optional. The Dialogflow system entity type of this message part. If this is empty, Dialogflow could not annotate the phrase part with a system entity.

Property Value
Type Description
string

FormattedValue

public Value FormattedValue { get; set; }

Optional. The Dialogflow system entity formatted value of this message part. For example for a system entity of type @sys.unit-currency, this may contain: <pre> { "amount": 5, "currency": "USD" } </pre>

Property Value
Type Description
Value

Text

public string Text { get; set; }

Required. A part of a message possibly annotated with an entity.

Property Value
Type Description
string