IFirstRunOptions interface

Options passed to Middleware.firstRun().

Properties

dialogArgs

(Optional) args to pass to dialogId.

dialogId

Dialog to redirect users to when the major version changes.

upgradeDialogArgs

(Optional) args to pass to upgradeDialogId.

upgradeDialogId

(Optional) dialog to redirect users to when the minor version changes. Useful for minor Terms of Use changes.

version

Current major.minor version for the bots first run experience. Major version increments result in redirecting users to dialogId and minor increments redirect users to upgradeDialogId.

Property Details

dialogArgs

(Optional) args to pass to dialogId.

dialogArgs?: any

Property Value

any

dialogId

Dialog to redirect users to when the major version changes.

dialogId: string

Property Value

string

upgradeDialogArgs

(Optional) args to pass to upgradeDialogId.

upgradeDialogArgs?: string

Property Value

string

upgradeDialogId

(Optional) dialog to redirect users to when the minor version changes. Useful for minor Terms of Use changes.

upgradeDialogId?: string

Property Value

string

version

Current major.minor version for the bots first run experience. Major version increments result in redirecting users to dialogId and minor increments redirect users to upgradeDialogId.

version: number

Property Value

number