Skip to main content
Version: 0.37.82

APIAttachment

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

Index

Properties

optionalcontent_type

content_type?: string

The attachment’s media type

optionaldescription

description?: string

Description for the file

optionalephemeral

ephemeral?: boolean

Whether this attachment is ephemeral

filename

filename: string

Name of file attached

optionalheight

height?: null | number

Height of file (if image)

id

id: string

Attachment id

proxy_url

proxy_url: string

A proxied url of file

size

size: number

Size of file in bytes

url

url: string

Source url of file

optionalwidth

width?: null | number

Width of file (if image)