APIAttachment

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