addEntryTextChunked

fun addEntryTextChunked(text: String, author: String, timestamp: Long, maxChunkLength: Int)(source)

Adds a long text as multiple chunked entries.

Text is split at whitespace boundaries when possible to avoid breaking words mid-entry.

Parameters

text

The full text to add

author

The author's name

timestamp

Unix timestamp in milliseconds

maxChunkLength

Maximum characters per entry chunk