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.
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 outlines the \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e class within the Google.Cloud.Dialogflow.V2 namespace, detailing its role in representing parts of a message that may be annotated with an entity.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e include \u003ccode\u003eEntityType\u003c/code\u003e, \u003ccode\u003eFormattedValue\u003c/code\u003e, and \u003ccode\u003eText\u003c/code\u003e, which provide information about the entity type, its formatted value, and the message part's textual content, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists available versions of the Dialogflow V2 library, with version 4.26.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are provided for creating \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e objects, both with and without an existing \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]