Represents a message posted into a conversation.
| JSON representation | 
|---|
| { "name" : string , "content" : string , "languageCode" : string , "participant" : string , "participantRole" : enum ( | 
| Fields | |
|---|---|
| name |   Optional. The unique identifier of the message. Format:  | 
| content |   Required. The message content. | 
| languageCode |   Optional. The message language. This should be a BCP-47 language tag. Example: "en-US". | 
| participant |   Output only. The participant that sends this message. | 
| participantRole |   Output only. The role of the participant. | 
| createTime |   Output only. The time when the message was created in Contact Center AI. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
| sendTime |   Optional. The time when the message was sent. For voice messages, this is the time when an utterance started. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
| sentimentAnalysis |   Output only. The sentiment analysis result for the message. | 
MessageAnnotation
Represents the result of annotation for the message.
| JSON representation | 
|---|
|  { 
 "parts" 
 : 
 [ 
 { 
 object (  | 
| Fields | |
|---|---|
| parts[] |   The collection of annotated message parts ordered by their position in the message. You can recover the annotated message by concatenating [AnnotatedMessagePart.text]. | 
| containEntities |   Indicates whether the text message contains entities. | 
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.
| JSON representation | 
|---|
| { "text" : string , "entityType" : string , "formattedValue" : value } | 
| Fields | |
|---|---|
| text |   A part of a message possibly annotated with an entity. | 
| entityType |   The Dialogflow system entity type of this message part. If this is empty, Dialogflow could not annotate the phrase part with a system entity. | 
| formattedValue |   The Dialogflow system entity formatted value 
of this message part. For example for a system entity of type  {
  "amount": 5,
  "currency": "USD"
} | 

