interface APIAttachmentRe-exportimport { type APIAttachment } from "https://deno.land/x/discord_api_types@0.37.81/v9.ts"; https://discord.com/developers/docs/resources/channel#attachment-object-attachment-structure Propertiesid: SnowflakeAttachment id filename: stringName of file attached optionaldescription: stringDescription for the file optionalcontent_type: stringThe attachment's media type See https://en.wikipedia.org/wiki/Media_type size: numberSize of file in bytes url: stringSource url of file proxy_url: stringA proxied url of file optionalheight: number | nullHeight of file (if image) optionalwidth: number | nullWidth of file (if image) optionalephemeral: booleanWhether this attachment is ephemeral optionalduration_secs: numberThe duration of the audio file (currently for voice messages) optionalwaveform: stringBase64 encoded bytearray representing a sampled waveform (currently for voice messages) optionalflags: AttachmentFlagsAttachment flags combined as a bitfield