MessageSendConfigurationBuilder

Builder for creating MessageSendConfiguration instances using a DSL approach.

Example usage:

val configuration = MessageSendConfiguration.build {
blocking = true
historyLength = 10
acceptedOutputModes = listOf("text/plain", "application/json")
}

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

A list of output MIME types the client is prepared to accept in the response.

Link copied to clipboard

If true, the client will wait for the task to complete. The server may reject this if the task is long-running.

Link copied to clipboard

The number of most recent messages from the task's history to retrieve in the response.

Link copied to clipboard

Configuration for the agent to send push notifications for updates after the initial response.

Functions

Link copied to clipboard

Builds the MessageSendConfiguration instance.

Link copied to clipboard

Configure the push notification config using a Java-friendly Consumer.

Configure the push notification config using a DSL builder.