Message

The content of a message sent from a user to an agent.

JSON representation
{
  "messageId": string,
  "name": string,
  "createTime": string,

  // Union field content can be only one of the following:
  "text": string
  // End of list of possible types for union field content.
}
Fields
messageId

string

An unique identifier of the message.

name

string

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

string (Timestamp format)

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: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Union field content. The content of the message. content can be only one of the following:
text

string

Plain-text message content.