AttachmentInput
- interface AttachmentInput
Raw file data to upload as a message attachment. Supply the binary content as an
ArrayBufferalong with a display name. The optional MIME type lets you override Discord’s auto-detection.exported from
lib.weeble.d
Properties
Property |
Type |
Description |
|---|---|---|
|
|
MIME type of the file. When omitted Discord attempts to detect it. |
|
|
Raw binary data of the file. |
|
|
The file name visible to recipients. |
|
|
Indicates whether the attachment should be marked as a spoiler. |