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.
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\u003eThis document provides reference information for the \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, with the latest version being 4.26.0 and version 4.23.0 as the current page's focus.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e class represents a component of a message that can be annotated with an entity, and is implemented through IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers constructors for creating instances, including one that copies an existing \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e, and has properties such as \u003ccode\u003eEntityType\u003c/code\u003e, \u003ccode\u003eFormattedValue\u003c/code\u003e, and \u003ccode\u003eText\u003c/code\u003e to define the characteristics of the annotated message.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines the inheritance, implemented interfaces, inherited members, namespace, assembly, constructors, and the properties of the \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e class with its detailed breakdown of the specific types and descriptions of the data it handles.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the documentation for \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e are available, from the latest 4.26.0 down to version 3.2.0, allowing access to the changes of the class over time.\u003c/p\u003e\n"]]],[],null,[]]