# Type Alias: MediaItemInput

> **MediaItemInput** = `object`

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

Author-facing form of [MediaItem](MediaItem.md), built with `m.image()` / `m.video()`.

## Properties

### alt?

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

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

***

### durationMs?

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

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

***

### kind

> **kind**: `"image"` \| `"video"`

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

***

### poster?

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

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

***

### spoiler?

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

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

***

### src

> **src**: `string`

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