Part represents a container for a section of communication content. Parts can be purely textual, some sort of file (image, video, etc) or a structured data blob (i.e. JSON).
| JSON representation |
|---|
{ "metadata": { object }, "filename": string, "mediaType": string, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "text": string, "raw": string, "url": string, "data": value // End of mutually exclusive fields. } |
| Fields | |
|---|---|
metadata |
Optional. metadata associated with this part. |
filename |
An optional |
mediaType |
The |
| The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
text |
The string content of the |
raw |
The A base64-encoded string. |
url |
A |
data |
Arbitrary structured |
| End of mutually exclusive fields. | |