Class MessageAnnotation (2.26.0)

MessageAnnotation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents the result of annotation for the message.

Attributes

NameDescription
parts MutableSequence[google.cloud.dialogflow_v2.types.AnnotatedMessagePart]
The collection of annotated message parts ordered by their position in the message. You can recover the annotated message by concatenating [AnnotatedMessagePart.text].
contain_entities bool
Indicates whether the text message contains entities.