text cut to MAX_MESSAGE_VALUE_LENGTH characters, ending in "…" when cut; never inside a surrogate pair (cutText), so the message stays well-formed.
text
cutText
textcut to MAX_MESSAGE_VALUE_LENGTH characters, ending in "…" when cut; never inside a surrogate pair (cutText), so the message stays well-formed.