# MediaProps

`interface` in `discord-component-embed` · v0.1.0

<https://docs.seedcord.org/packages/discord-component-embed/0.1.0/interfaces/media-props>

Props for [`Thumbnail`](/packages/discord-component-embed/0.1.0/functions/thumbnail) and [`MediaGalleryItem`](/packages/discord-component-embed/0.1.0/functions/media-gallery-item).

```ts
interface MediaProps
```

## Properties

### description

```ts
description: string;
```

Alt text.

### spoiler

```ts
spoiler: boolean;
```

### url

```ts
url: string;
```

An `http` or `https` URL that Discord fetches when it builds the preview. A thumbnail takes a PNG, GIF, JPEG, WebP, or AVIF image. A gallery item also takes MP4, MOV, or WebM video.
