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 DefinitionData Field Type
applicationApplication name for this export data (GMM/GMB).string
titleName of the entity with whom the user was communicating.string
timestamp_usServer timestamp for a message in microseconds.timestamp
senderMessage sender name.string
content_typeContent type of the message.string
contentContent of the message.string
display_textWhat to display in the suggestion chip.string
secondary_textChip text to display under the main display text, like a subtitle.string
display_iconChip: This sets the raw image data from the icon.raw image data
blob_idblob_id to be used by the export handler to fetch the media from blob storage.string
export_file_nameName of the file to be used for the media export.string
locationInfosNOT_SETstring
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 DefinitionData Field Type
attachmentAttachment within message in its original uploaded format.file
A table representing Resource Groups and the objects that are exported with it.
Resource GroupOAuth Scope NameDescriptionExported Objects
businessmessaging.conversationshttps://www.googleapis.com/auth/dataportability.businessmessaging.conversations
Chat history
Chat attachment