interface APIMediaGalleryItem {
    description?: null | string;
    media: APIUnfurledMediaItem;
    spoiler?: boolean;
}

Properties

description?: null | string

Alt text for the media

A url or attachment

spoiler?: boolean

Whether the media should be a spoiler (or blurred out)

false