Class AnnotatedMessagePart (3.11.0)

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

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

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

Text

public string Text { get; set; }

A part of a message possibly annotated with an entity.

Property Value
TypeDescription
String