InputResponse

sealed interface InputResponse(source)

The user's answer to an InputRequest.

Inheritors

Types

Link copied to clipboard
data class Accept(val content: JsonObject? = null) : InputResponse

Submitted: content matches the request's schema (null for a URL or a plain confirmation).

Link copied to clipboard
data object Cancel : InputResponse

Dismissed without a choice (or the host cannot ask).

Link copied to clipboard
data object Decline : InputResponse

Explicitly declined.