# InputInteractionResult

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `struct`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

The result of a single-input interaction prompt.

## Definition

```go
type InputInteractionResult struct {
    Canceled bool              `json:"Canceled"`
    Input    *InteractionInput `json:"Input"`
}
```

## Fields

- `Canceled`: `bool` -- Gets a value indicating whether the interaction was canceled by the user.
- `Input`: [`*InteractionInput`](/reference/api/go/aspire.hosting/interactioninput.md) `optional` -- Gets the input returned from the interaction. Not present when `Canceled` is `true`.
