We will be winding down Google Business Messages on July 31, 2024. Read more
here.
Message
Stay organized with collections
Save and categorize content based on your preferences.
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-14 UTC.
[[["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 2024-11-14 UTC."],[[["The message object contains an ID, name, creation timestamp, and content."],["The content of the message is a union field and can be plain text."],["The message name follows a specific format: \"conversations/{conversationId}/messages/{messageId}\"."],["The creation timestamp is in RFC3339 UTC \"Zulu\" format."]]],[]]