Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPromptContext

Contextual information tracked for a Prompt. This information can be accessed within a prompt through session.dialogData.

Hierarchy

  • IPromptContext

Index

Properties

activeIntent

activeIntent: string

Used to track which Prompt.matches() handler is active. This is used internally to move the handlers waterfall to the next step.

isReprompt

isReprompt: boolean

If true, we're returning from an unexpected interruption and should send the initial turn-0 prompt again.

lastTurn

lastTurn: number

Timestamp of the last turn.

options

Options that the prompt was called with.

turns

turns: number

Number of times the user has interacted with the prompt. The first message sent to the user is turn-0, the users first reply is turn-1, and so forth.

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