sendText

abstract suspend fun sendText(text: String, flush: Boolean = false)(source)

Sends non-empty partial text. Whitespace is preserved.

When flush is true, ElevenLabs is also asked to generate all currently buffered text.

Throws

if the session is finishing or closed.