Skip to content
DocsTry Aspire
DocsTry

InteractionOptions Properties

ClassProperties5 members
Optional configuration for interactions added with Hosting.InteractionService.
EnableMessageMarkdownSection titled EnableMessageMarkdownnullablebool?
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; }
PrimaryButtonTextSection titled PrimaryButtonTextnullablestring?
Optional primary button text to override the default text.
public string? PrimaryButtonText { get; set; }
SecondaryButtonTextSection titled SecondaryButtonTextnullablestring?
Optional secondary button text to override the default text.
public string? SecondaryButtonText { get; set; }
ShowDismissSection titled ShowDismissnullablebool?
Gets or sets a value indicating whether show the dismiss button.
public bool? ShowDismiss { get; set; }
ShowSecondaryButtonSection titled ShowSecondaryButtonnullablebool?
Gets or sets a value indicating whether show the secondary button.
public bool? ShowSecondaryButton { get; set; }