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 webpage provides reference documentation for the \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, with the latest version being 4.26.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e class represents a segment of a message that may be annotated with an entity, or it may be text that is not an entity.\u003c/p\u003e\n"],["\u003cp\u003eIt offers access to properties like \u003ccode\u003eEntityType\u003c/code\u003e, \u003ccode\u003eFormattedValue\u003c/code\u003e, and \u003ccode\u003eText\u003c/code\u003e, allowing you to retrieve information about the annotated entity or the plain text part of the message.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists available versions of the API, ranging from 4.26.0 down to 3.2.0, all related to the \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e class has constructors that allow for creating an empty \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e or creating one based off of an already existing \u003ccode\u003eAnnotatedMessagePart\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]