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

# SplitTextOptions

> Interface exported by @botmesh/core.

Defined in: [streaming/split.ts:18](https://github.com/andresayac/botmesh/blob/main/packages/core/src/streaming/split.ts#L18)

Limits and markup of [splitMessage](https://botmesh.afaya.com.co/api/core/functions/splitMessage.md) / `findSplitPoint`.

## Properties

### maxLength?

```ts theme={null}
maxLength?: number;
```

Defined in: [streaming/split.ts:20](https://github.com/andresayac/botmesh/blob/main/packages/core/src/streaming/split.ts#L20)

Max UTF-16 code units per part (`capabilities.maxTextLength`).

***

### maxBytes?

```ts theme={null}
maxBytes?: number;
```

Defined in: [streaming/split.ts:22](https://github.com/andresayac/botmesh/blob/main/packages/core/src/streaming/split.ts#L22)

Max UTF-8 bytes per part (`capabilities.maxTextBytes`, e.g. Instagram).

***

### format?

```ts theme={null}
format?: TextFormat;
```

Defined in: [streaming/split.ts:27](https://github.com/andresayac/botmesh/blob/main/packages/core/src/streaming/split.ts#L27)

Markup to keep intact (`ctx.textFormat`). Unset = Markdown-like (`*`, `_`, `~`,
backticks, links); `'plain'` = no markup.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.