Skip to main content
Defined in: streaming/split.ts:18 Limits and markup of splitMessage / findSplitPoint.

Properties

maxLength?

Defined in: streaming/split.ts:20 Max UTF-16 code units per part (capabilities.maxTextLength).

maxBytes?

Defined in: streaming/split.ts:22 Max UTF-8 bytes per part (capabilities.maxTextBytes, e.g. Instagram).

format?

Defined in: streaming/split.ts:27 Markup to keep intact (ctx.textFormat). Unset = Markdown-like (*, _, ~, backticks, links); 'plain' = no markup.