# MimeBatch

The MimeBatch type of the TypeScript SDK, which messages.getMimeStructures take or answer.

```ts
type MimeBatch = {
  mime: Record<string, MimeEntry | null>
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `mime` | `Record<string, MimeEntry \| null>` | Map of message ID to parsed MIME structures |

## Used by

| Method | What it does |
| --- | --- |
| [`messages.getMimeStructures`](/docs/sdks/typescript/messages/get-mime-structures) | Batch get cached MIME structures |
