File Data
Represents a file stored on Effis.
Field | Type | Description |
---|---|---|
id | Number | The ID of the file. |
name | String | The name of the file. |
bucket | String | The bucket the file is stored in. |
spoiler? | Boolean | If the file is spoilered. |
metadata | FileMetadata | The File Metadata of the file. |
Example
{
"id": 2195354353667,
"name": "das_ding.png",
"bucket": "attachments",
"metadata": {
"type": "image",
"width": 1600,
"height": 1600
}
}