IFirstRunOptions interface
Options passed to Middleware.firstRun().
Properties
dialog |
(Optional) args to pass to dialogId. |
dialog |
Dialog to redirect users to when the major version changes. |
upgrade |
(Optional) args to pass to upgradeDialogId. |
upgrade |
(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
dialogId
upgradeDialogArgs
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