Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IDisambiguateChoices

Route choices to pass to Prompts.disambiguate(). The key for the map should be the localized label to display to the user and the value should be the route to select when chosen by the user. You can pass null for the route to give the user the option to cancel.

example

builder.Prompts.disambiguate(session, "What would you like to cancel?", {
     "Cancel Item": cancelItemRoute,
     "Cancel Order": cancelOrderRoute,
     "Neither": null
});

Hierarchy

  • IDisambiguateChoices

Indexable

[label: string]: IRouteResult

Route choices to pass to Prompts.disambiguate(). The key for the map should be the localized label to display to the user and the value should be the route to select when chosen by the user. You can pass null for the route to give the user the option to cancel.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method