Constructs a new Attachment instance.
Raw API attachment data
The URL or path of the attachment
MIME type of the attachment
Description (alt text) of the attachment
Duration in seconds for audio/voice attachments.
Whether this attachment is ephemeral
Optional
flagsFlags associated with the attachment
Height of the attachment if image/video, otherwise null
The unique ID of the attachment
The filename of the attachment
Optional
proxyProxy URL of the attachment
Optional
sizeSize of the attachment in bytes
Title of the attachment if present.
Optional
urlURL of the attachment
Base64 waveform for voice message attachments.
Width of the attachment if image/video, otherwise null
Represents a Discord attachment.