FileComponent
Documentation / @discordeno/bot / FileComponent
Interface: FileComponent
Defined in: packages/types/dist/types/discordeno.d.ts:273
https://discord.com/developers/docs/components/reference#file
Extends
Properties
file
file:
DiscordUnfurledMediaItem
Defined in: packages/types/dist/types/discordeno.d.ts:276
This unfurled media item is unique in that it only supports attachment references using the attachment://<filename> syntax
id?
optional
id:number
Defined in: packages/types/dist/types/discordeno.d.ts:65
32 bit integer used as an optional identifier for component
Inherited from
spoiler?
optional
spoiler:boolean
Defined in: packages/types/dist/types/discordeno.d.ts:278
Whether the media should be a spoiler (or blurred out). Defaults to false
type
type:
File
Defined in: packages/types/dist/types/discordeno.d.ts:274
The type of the component