# InteractionMessageBoxOptions

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

Options for message box and confirmation prompts.

## Definition

```go
type InteractionMessageBoxOptions struct {
    PrimaryButtonText     *string        `json:"PrimaryButtonText"`
    SecondaryButtonText   *string        `json:"SecondaryButtonText"`
    ShowSecondaryButton   *bool          `json:"ShowSecondaryButton"`
    ShowDismiss           *bool          `json:"ShowDismiss"`
    EnableMessageMarkdown *bool          `json:"EnableMessageMarkdown"`
    Intent                *MessageIntent `json:"Intent"`
}
```

## Fields

- `PrimaryButtonText`: `*string` `optional` -- Gets or sets the primary button text.
- `SecondaryButtonText`: `*string` `optional` -- Gets or sets the secondary button text.
- `ShowSecondaryButton`: `*bool` `optional` -- Gets or sets a value indicating whether the secondary button is shown.
- `ShowDismiss`: `*bool` `optional` -- Gets or sets a value indicating whether the dismiss button is shown.
- `EnableMessageMarkdown`: `*bool` `optional` -- Gets or sets a value indicating whether Markdown in the message is rendered.
- `Intent`: [`*MessageIntent`](/reference/api/go/aspire.hosting/messageintent.md) `optional` -- Gets or sets the intent of the message box.
