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