Appearance
APIMessageAttachment
Package: @erinjs/types
Properties
| Name | Type | Readonly | Optional | Description |
|---|---|---|---|---|
content_hash | string | null | No | Yes | Hash of attachment content for integrity |
content_type | string | null | No | Yes | |
description | string | null | No | Yes | |
duration | number | null | No | Yes | |
expired | boolean | null | No | Yes | |
expires_at | string | null | No | Yes | |
filename | string | No | No | |
flags | number | null | No | Yes | MessageAttachmentFlags bitfield |
height | number | null | No | Yes | |
id | string | No | No | |
nsfw | boolean | null | No | Yes | |
placeholder | string | null | No | Yes | Base64 placeholder for lazy loading |
proxy_url | string | null | No | Yes | |
size | number | No | No | |
title | string | null | No | Yes | |
url | string | null | No | Yes | |
waveform | string | null | No | Yes | Base64 audio waveform for voice messages |
width | number | null | No | Yes |