export interface APIAttachmentSee also: https://discord.com/developers/docs/resources/message#attachment-object-attachment-structure
optionalexternalapplication? : APIApplication | null
For Clips, the application in the stream, if recognized
optionalexternalclip_created_at? : string
For Clips, when the clip was created
optionalexternalclip_participants? : APIUser[]
For Clips, array of users who were in the stream
optionalexternalcontent_type? : string
The attachment's media type
See also: https://en.wikipedia.org/wiki/Media_type
optionalexternaldescription? : string
Description (alt text) for the file (max 1024 characters)
optionalexternalduration_secs? : number
The duration of the audio or video file
optionalexternalephemeral? : boolean
Whether this attachment is ephemeral
externalfilename : string
Name of file attached
optionalexternalflags? : AttachmentFlags
Attachment flags combined as a bitfield
externalid : Snowflake
Attachment id
optionalexternalplaceholder_version? : number
Version of the placeholder (if image or video)
optionalexternalplaceholder? : string
ThumbHash placeholder (if image or video)
See also: https://evanw.github.io/thumbhash/
externalproxy_url : string
A proxied url of file
externalsize : number
Size of file in bytes
optionalexternaltitle? : string
The original filename of the upload with special characters preservedThis will be present when the filename contains special characters (e.g. Cyrillic), in which case the filename field will be a sanitized version without those characters
externalurl : string
Source url of file
optionalexternalwaveform? : string
Base64 encoded bytearray representing a sampled waveform (currently for voice messages)