APIAttachment
Index
Properties
optionalcontent_type
The attachment’s media type
optionaldescription
Description for the file
optionalephemeral
Whether this attachment is ephemeral
filename
Name of file attached
optionalheight
Height of file (if image)
id
Attachment id
proxy_url
A proxied url of file
size
Size of file in bytes
url
Source url of file
optionalwidth
Width of file (if image)
https://discord.com/developers/docs/resources/channel#attachment-object-attachment-structure
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.