Are you an LLM? You can read better optimized documentation at /en/message-templates/types/discord/attachment.md for this page in Markdown format
Attachment
This data type describes all available data about the message attachment (video, pictures, files).
Properties
| Property | Type | Description |
|---|---|---|
id | Number | Unique identifier |
createdAt | DateTime | Creation date and time |
url | String | URL |
proxyUrl | String | Proxy URL |
fileName | String | File name |
description | String | Description |
size | Number | File size (bytes) |
height | Number | Image/Video height. -1 for other file types |
width | Number | Image/Video width. -1 for other file types |
clip | Boolean | true if this attachment is a clip from stream |
remix | Boolean | true if this attachment is edited using the remix feature on mobile |
spoiler | Boolean | true if this attachment is marked as a spoiler and is blurred until clicked |
animated | Boolean | true if this attachment is an animated image |