Skip to main content
Latest
interface Attachment
Re-export
import { type Attachment } from "https://deno.land/x/discordeno_cache_plugin@0.0.21/deps.ts";

Properties

id: string

Attachment id

filename: string

Name of file attached

optional
contentType: string

The attachment's media type

size: number

Size of file in bytes

url: string

Source url of file

proxyUrl: string

A proxied url of file

optional
height: number | null

Height of file (if image)

optional
width: number | null

Width of file (if image)

optional
ephemeral: boolean

Whether this attachment is ephemeral