markdown("**hi**")sends the markdown as one message.markdown(source)marks a text stream as markdown: platforms with native support stream it styled (Telegram renders drafts and the final message viaparse_mode), and everywhere else the accumulated text falls back through the markdown chain instead of surfacing raw**markers.
text() — any SDK streaming
result or AsyncIterable / ReadableStream, with options.extract for
unrecognized chunk shapes.
Parameters
string
required
Returns
ContentBuilder
markdown("**hi**")sends the markdown as one message.markdown(source)marks a text stream as markdown: platforms with native support stream it styled (Telegram renders drafts and the final message viaparse_mode), and everywhere else the accumulated text falls back through the markdown chain instead of surfacing raw**markers.
text() — any SDK streaming
result or AsyncIterable / ReadableStream, with options.extract for
unrecognized chunk shapes.
Parameters
StreamTextSource<T>
required
Type:
StreamTextSourceTextStreamOptions<T>
Type:
TextStreamOptionsReturns
ContentBuilder