Google Cloud Dialogflow v2 API - Class AnnotatedMessagePart (4.18.0)

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

Reference documentation and code samples for the Google Cloud Dialogflow v2 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.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

AnnotatedMessagePart()

public AnnotatedMessagePart()

AnnotatedMessagePart(AnnotatedMessagePart)

public AnnotatedMessagePart(AnnotatedMessagePart other)
Parameter
Name Description
other AnnotatedMessagePart

Properties

EntityType

public string EntityType { get; set; }

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

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

A part of a message possibly annotated with an entity.

Property Value
Type Description
string