Preview environment

interface APIFileComponent

export interface APIFileComponent extends APIBaseComponent<ComponentType.File>

The APIUnfurledMediaItem ONLY supports attachment:// references

optional
id? : number

int32, auto generated via increment if not provided

Inherited from: APIBaseComponent

optional
spoiler? : boolean

type : T

The type of the component

Inherited from: APIBaseComponent