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, // Union field |
| Fields | |
|---|---|
metadata |
Optional. metadata associated with this part. |
filename |
An optional |
mediaType |
The |
Union field
|
|
text |
The string content of the |
raw |
The A base64-encoded string. |
url |
A |
data |
Arbitrary structured |