Skip to content

FileProps

Defined in: packages/platform-discord/src/components/file.ts:4

readonly optional file?: AttachmentData

Defined in: packages/platform-discord/src/components/file.ts:6

A local/uploaded attachment, supported by the Node profile.


readonly optional name?: string

Defined in: packages/platform-discord/src/components/file.ts:9


readonly optional spoiler?: boolean

Defined in: packages/platform-discord/src/components/file.ts:10


readonly optional url?: string

Defined in: packages/platform-discord/src/components/file.ts:8

A remote file URL, supported by both profiles.