Attachment
- interface Attachment
A file attached to a message. Read-only metadata describing an attachment that already exists on Discord. For uploading new files use AttachmentInput instead.
exported from
lib.weeble.d
Properties
Property |
Type |
Description |
|---|---|---|
|
|
MIME type of the file, or null when unknown. |
|
|
Alternative text shown for this attachment, or null when unset. |
|
|
Indicates whether this attachment is ephemeral (only visible to the interaction user). |
|
|
File name as uploaded. |
|
|
Discord attachment flag bitfield. |
|
|
Height of the image in pixels, or null for non-image attachments. |
|
|
The unique ID for this attachment. |
|
|
Whether Discord marks this attachment as a spoiler. |
|
|
Proxied CDN URL for the attachment. |
|
|
Size of the file in bytes. |
|
|
CDN URL for the attachment. |
|
|
Width of the image in pixels, or null for non-image attachments. |