export interface APIAttachment
https://discord.com/developers/docs/resources/message#attachment-object-attachment-structure
optionalstring content_type? :
The attachment's media typeSee https://en.wikipedia.org/wiki/Media_type
optionalstring description? :
Description for the file
optionalnumber duration_secs? :
The duration of the audio file (currently for voice messages)
optionalboolean ephemeral? :
Whether this attachment is ephemeral
string filename :
Name of file attached
optionalAttachmentFlags flags? :
Attachment flags combined as a bitfield
Snowflake id :
Attachment id
string proxy_url :
A proxied url of file
number size :
Size of file in bytes
optionalstring title? :
The title of the file
string url :
Source url of file
optionalstring waveform? :
Base64 encoded bytearray representing a sampled waveform (currently for voice messages)