Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

InteractionNotificationOptions

Struct
📦 Aspire.Hosting v17.0.0

Options for notification prompts.

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*stringoptional
Gets or sets the primary button text.
SecondaryButtonText*stringoptional
Gets or sets the secondary button text.
ShowSecondaryButton*booloptional
Gets or sets a value indicating whether the secondary button is shown.
ShowDismiss*booloptional
Gets or sets a value indicating whether the dismiss button is shown.
EnableMessageMarkdown*booloptional
Gets or sets a value indicating whether Markdown in the message is rendered.
Intent*MessageIntentoptional
Gets or sets the intent of the notification.
LinkText*stringoptional
Gets or sets the text for a link in the notification.
LinkUrl*stringoptional
Gets or sets the URL for the link in the notification.