# InteractionNotificationOptions

- 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 notification prompts.

## Definition

```go
type InteractionNotificationOptions 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"`
    LinkText              *string        `json:"LinkText"`
    LinkUrl               *string        `json:"LinkUrl"`
}
```

## 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 notification.
- `LinkText`: `*string` `optional` -- Gets or sets the text for a link in the notification.
- `LinkUrl`: `*string` `optional` -- Gets or sets the URL for the link in the notification.
