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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e class in the Google Cloud Dialogflow v2beta1 API represents a segment of a message that may or may not be annotated with an entity.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities for message handling, equality checks, deep cloning, and buffered operations.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e instances can be created with a default constructor or by copying another \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e class include \u003ccode\u003eEntityType\u003c/code\u003e for the Dialogflow system entity type, \u003ccode\u003eFormattedValue\u003c/code\u003e for the entity's formatted value, and \u003ccode\u003eText\u003c/code\u003e for the actual text content of the message part.\u003c/p\u003e\n"],["\u003cp\u003eThe class is part of the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2Beta1\u003c/code\u003e namespace and is located in the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2Beta1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]