Properties
| Name | Type | Description |
|---|---|---|
| mediaIndex | integer | Its position on the message, from 0 |
Its position on the message, from 0 | ||
| contentType | string | MIME type, e.g. image/jpeg |
MIME type, e.g. image/jpeg | ||
| size | integer | Size in bytes, once the Messaging Service holds its copy |
Size in bytes, once the Messaging Service holds its copy | ||
| isCopied | boolean | Whether the Messaging Service holds its own copy of the file |
Whether the Messaging Service holds its own copy of the file | ||
| url | string | Where SodiumHQ streams the file from (this API, with the caller's token), or null until the |
Where SodiumHQ streams the file from (this API, with the caller's token), or null until the | ||
JSON Example
{
"mediaIndex": 0,
"contentType": "string",
"size": 0,
"isCopied": false,
"url": "string"
}