# Type Alias: MediaItemOptions

> **MediaItemOptions** = `object`

Defined in: [scripts/types.ts:66](https://github.com/laruss/react-text-game/blob/37ebb1fd49045bfbb1d2a2fa96b8f14a2f8c2644/packages/messenger/src/scripts/types.ts#L66)

Options for a single media item.

## Properties

### alt?

> `optional` **alt**: [`TextInput`](TextInput.md)

Defined in: [scripts/types.ts:67](https://github.com/laruss/react-text-game/blob/37ebb1fd49045bfbb1d2a2fa96b8f14a2f8c2644/packages/messenger/src/scripts/types.ts#L67)

***

### durationMs?

> `optional` **durationMs**: `number`

Defined in: [scripts/types.ts:69](https://github.com/laruss/react-text-game/blob/37ebb1fd49045bfbb1d2a2fa96b8f14a2f8c2644/packages/messenger/src/scripts/types.ts#L69)

***

### poster?

> `optional` **poster**: `string`

Defined in: [scripts/types.ts:68](https://github.com/laruss/react-text-game/blob/37ebb1fd49045bfbb1d2a2fa96b8f14a2f8c2644/packages/messenger/src/scripts/types.ts#L68)

***

### spoiler?

> `optional` **spoiler**: `boolean`

Defined in: [scripts/types.ts:70](https://github.com/laruss/react-text-game/blob/37ebb1fd49045bfbb1d2a2fa96b8f14a2f8c2644/packages/messenger/src/scripts/types.ts#L70)
