Optional
content_The attachment's media type
Optional
descriptionDescription for the file
Optional
duration_The duration of the audio file (currently for voice messages)
Optional
ephemeralWhether this attachment is ephemeral
Name of file attached
Optional
flagsAttachment flags combined as a bitfield
Optional
heightHeight of file (if image)
Attachment id
A proxied url of file
Size of file in bytes
Optional
titleThe title of the file
Source url of file
Optional
waveformBase64 encoded bytearray representing a sampled waveform (currently for voice messages)
Optional
widthWidth of file (if image)
See
https://discord.com/developers/docs/resources/message#attachment-object-attachment-structure