interface APIAttachmentRe-exportDeprecatedDeprecatedAPI and gateway v8 are deprecated and the types will not receive further updates, please update to v10. import { type APIAttachment } from "https://deno.land/x/discord_api_types@0.37.37/v8.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