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\u003eThe provided content outlines the different versions of the \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e class within the Google Cloud Dialogflow V2 .NET library, ranging from version 3.2.0 up to the latest 4.26.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e represents a segment of a message that may or may not be associated with an entity, and can be found within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e and it inherits from object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e class offers three key properties: \u003ccode\u003eEntityType\u003c/code\u003e, \u003ccode\u003eFormattedValue\u003c/code\u003e, and \u003ccode\u003eText\u003c/code\u003e, which are used to store entity type, formatted value, and the text part of the message.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the class \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e, one is parameterless, and one takes an other instance of \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]