Optionalcontent_The attachment's media type
OptionaldescriptionDescription for the file
Optionalduration_The duration of the audio file (currently for voice messages)
OptionalephemeralWhether this attachment is ephemeral
Name of file attached
OptionalflagsAttachment flags combined as a bitfield
OptionalheightHeight of file (if image)
Attachment id
A proxied url of file
Size of file in bytes
OptionaltitleThe title of the file
Source url of file
OptionalwaveformBase64 encoded bytearray representing a sampled waveform (currently for voice messages)
OptionalwidthWidth of file (if image)
See
https://discord.com/developers/docs/resources/message#attachment-object-attachment-structure