AI-generated Key Takeaways
- 
          
This document describes the structure of a message sent from a user to an agent.
 - 
          
The message is represented in JSON format and includes fields for message ID, name, creation time, and content.
 - 
          
The
contentfield is a union field and can only contain plain text. 
The content of a message sent from a user to an agent.
| JSON representation | 
|---|
{ "messageId": string, "name": string, "createTime": string, // Union field  | 
            
| Fields | |
|---|---|
messageId | 
              
                 
 An unique identifier of the message.  | 
            
name | 
              
                 
 The name of the message, as set by Business Messages. Resolves to "conversations/{conversationId}/messages/{messageId}", where {conversationId} is the unique ID for the conversation and {messageId} is the unique ID for the message.  | 
            
createTime | 
              
                 
 The time that the user sent the message. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:   | 
            
Union field content. The content of the message. content can be only one of the following: | 
            |
text | 
              
                 
 Plain-text message content.  |