Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natico/examples/deps.ts>Attachment

A powerful and customizable framework for Discordeno
Latest
interface Attachment
Re-export
import { type Attachment } from "https://deno.land/x/natico@4.0.0-pre.4/examples/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