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.
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.
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>
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `AnnotatedMessagePart` class in the Google Cloud Dialogflow v2beta1 API represents a segment of a message that may or may not be annotated with an entity."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, indicating its capabilities for message handling, equality checks, deep cloning, and buffered operations."],["`AnnotatedMessagePart` instances can be created with a default constructor or by copying another `AnnotatedMessagePart` instance."],["Key properties of the `AnnotatedMessagePart` class include `EntityType` for the Dialogflow system entity type, `FormattedValue` for the entity's formatted value, and `Text` for the actual text content of the message part."],["The class is part of the `Google.Cloud.Dialogflow.V2Beta1` namespace and is located in the `Google.Cloud.Dialogflow.V2Beta1.dll` assembly."]]],[]]