Skip to content

OffloadedBlockData

Defined in: src/types/messages.ts:299

Experimental

Data for an offloaded block, as its constructor takes it. Serialization groups everything but the text under an offloaded key, so these names stay free for TextBlockData.

text: string;

Defined in: src/types/messages.ts:253

Experimental

Plain text content.

TextBlockData.text


method: OffloadMethod;

Defined in: src/types/messages.ts:303

Experimental

Offload method that left the placeholder.


ref?: string;

Defined in: src/types/messages.ts:308

Experimental

Stash reference under which the original is retrievable; absent when it was not stashed.


tokens?: number;

Defined in: src/types/messages.ts:314

Experimental

Size of the content this placeholder stands for, in tokens, including any placeholder it replaced; absent when the token count could not measure it.