> ## Documentation Index
> Fetch the complete documentation index at: https://baileys.wiki/llms.txt
> Use this file to discover all available pages before exploring further.

# MediaDownloadOptions

> Type Alias MediaDownloadOptions in the Baileys API.

> **MediaDownloadOptions**: `object`

Defined in: [src/Utils/messages-media.ts:511](https://github.com/WhiskeySockets/Baileys/blob/master/src/Utils/messages-media.ts#L511)

## Type declaration

### endByte?

> `optional` **endByte**: `number`

### host?

> `optional` **host**: `string`

Optional media host override; falls back to DEF\_MEDIA\_HOST when not provided.

### options?

> `optional` **options**: `RequestInit`

### startByte?

> `optional` **startByte**: `number`
