BulkBuilder

DSL builder for batching multiple send and thread-iteration operations into a single execution.

Functions

Link copied to clipboard
fun forEachThread(inboxId: String, filter: ListThreadsBuilder.() -> Unit = {}, action: suspend (Thread) -> Unit)

Queues an operation that iterates over all threads in the inbox, handling pagination automatically.

Link copied to clipboard
fun send(inboxId: String, recipients: List<String>, block: SendMessageBuilder.() -> Unit)

Queues a send operation that delivers a message to each recipient individually.