Skip to content
Docs Try Aspire

InteractionOptions Properties

Class Properties 5 members
Optional configuration for interactions added with Hosting.InteractionService.
EnableMessageMarkdown Section titled EnableMessageMarkdown nullable bool?
Gets or sets a value indicating whether Markdown in the message is rendered. Setting this to true allows a message to contain Markdown elements such as links, text decoration and lists.
public bool? EnableMessageMarkdown { get; set; }
PrimaryButtonText Section titled PrimaryButtonText nullable string?
Optional primary button text to override the default text.
public string? PrimaryButtonText { get; set; }
SecondaryButtonText Section titled SecondaryButtonText nullable string?
Optional secondary button text to override the default text.
public string? SecondaryButtonText { get; set; }
ShowDismiss Section titled ShowDismiss nullable bool?
Gets or sets a value indicating whether show the dismiss button.
public bool? ShowDismiss { get; set; }
ShowSecondaryButton Section titled ShowSecondaryButton nullable bool?
Gets or sets a value indicating whether show the secondary button.
public bool? ShowSecondaryButton { get; set; }