Skip to main content
Module

x/discord_api_types/v9.ts>APIAttachment

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APIAttachment
Re-export
import { type APIAttachment } from "https://deno.land/x/discord_api_types@0.37.11/v9.ts";

Properties

Attachment id

filename: string

Name of file attached

optional
description: string

Description for the file

optional
content_type: string

The attachment's media type

See https://en.wikipedia.org/wiki/Media_type

size: number

Size of file in bytes

url: string

Source url of file

proxy_url: 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