Represents a file stored on Effis.


Example

{
"id": 2195354353667,
"name": "das_ding.png",
"bucket": "attachments",
"metadata": {
"type": "IMAGE",
"width": 1600,
"height": 1600
}
}

Hierarchy

  • FileData

Properties

bucket: string

The bucket the file is stored in.

id: number

The file's ID.

metadata: FileMetadata

The FileMetadata of the file.

name: string

The file's name.

spoiler?: boolean

Whether the file is marked as a spoiler.