Business Messages Schema Reference
Exported Object: Chat history
Exported Object represents: Conversation and message history for business messaging.
Object is exported in these formats: JSON
Exported object has the following fields:
* The preceding fields represent key data fields for the purposes of parsing and ingesting the relevant data exports. Data fields produced in an export vary by service and user action and some services or actions don't produce each data field described. |
Data Field * | Field Definition | Data Field Type |
---|
application | Application name for this export data (GMM/GMB). | string |
title | Name of the entity with whom the user was communicating. | string |
timestamp_us | Server timestamp for a message in microseconds. | timestamp |
sender | Message sender name. | string |
content_type | Content type of the message. | string |
content | Content of the message. | string |
display_text | What to display in the suggestion chip. | string |
secondary_text | Chip text to display under the main display text, like a subtitle. | string |
display_icon | Chip: This sets the raw image data from the icon. | raw image data |
blob_id | blob_id to be used by the export handler to fetch the media from blob storage. | string |
export_file_name | Name of the file to be used for the media export. | string |
locationInfos | NOT_SET | string |
Exported Object: Chat attachment
Exported Object represents: Attachments sent or received through Business Messages.
Object is exported in these formats: Original uploaded format.
Exported object has the following fields:
* The preceding fields represent key data fields for the purposes of parsing and ingesting the relevant data exports. Data fields produced in an export vary by service and user action and some services or actions don't produce each data field described. |
Data Field * | Field Definition | Data Field Type |
---|
attachment | Attachment within message in its original uploaded format. | file |
A table representing Resource Groups and the objects that are exported with it.Resource Group | OAuth Scope Name | Description | Exported Objects |
---|
businessmessaging.conversations | https://www.googleapis.com/auth/dataportability.businessmessaging.conversations | | Chat history Chat attachment |
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-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["This export includes chat history and attachments from Google's Business Messages (GMM/GMB)."],["Exported data fields provide details such as timestamps, sender, content, and display information for messages."],["Chat attachments are exported in their original uploaded format."],["Data is accessible via the `businessmessaging.conversations` OAuth scope."],["Exports are available in JSON format."]]],[]]