Optionalstrategy'auto' (default) picks from capabilities.streaming; an unsupported choice degrades.
OptionalthrottleMinimum ms between two live updates (draft/edit). Default 400 (draft), 1000 (edit).
OptionalsignalAbort the stream: reading stops and the source's return() is called.
OptionalonWhat to do with the text produced so far on cancellation. Default 'flush'
(send it). 'discard' sends nothing more and removes the live preview: a draft
simply expires and, with the edit strategy, the message being edited is deleted
(when the transport can delete; otherwise only its cursor is removed). Messages
already completed before the cancel stay.
OptionalmaxMax chars per message. Default capabilities.maxTextLength, else 4096 (capabilities.maxTextBytes also applies).
Optionalmin'chunk': minimum chars before a chunk is sent at a sentence boundary. Default 160.
Optionalmax'chunk': hard size of a chunk with no sentence boundary. Default min(maxLength, 1500).
OptionaltypingShow typing while waiting (chunk/buffer, and edit before its first message). Default true.
OptionaltypingInterval (ms) to refresh the typing indicator. Default 8000.
OptionalcursorSuffix shown on in-progress drafts/edits (e.g. ' ▌'). Never in the final text. Default ''.
OptionalcanDraft: show a stop button (Telegram can_stop). Default false.
OptionalkeepDraft: keep the draft visible when the user stops it (Telegram keep_on_stop).
OptionalsendOptions for the FIRST message sent (e.g. { quoted: ctx.ref }).
OptionaldraftTransport passthrough for draft calls (e.g. Telegram message_thread_id).
Options of
ctx.stream()/ streamText.