Attachment
The Attachment payload. This is returned alongside Message
when you’re provided information about a
pre-existing message.
Field | Type | Description |
---|---|---|
file | FileData | |
description | String? | |
spoiler? | Boolean |
Example
{
"file": {
"id": 2195354353667,
"name": "das_ding.png",
"bucket": "attachments",
"metadata": {
"type": "IMAGE",
"width": 1600,
"height": 1600
}
},
"description": "Image of a beautiful creature.",
"spoiler": "false",
}