Created
January 11, 2018 08:58
-
-
Save JonJam/bb7dc3ea3fac048b0a225e7bdfad3efc to your computer and use it in GitHub Desktop.
Global dialog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Library, Session } from "botbuilder"; | |
| import strings from "../../strings"; | |
| const lib = new Library("global"); | |
| lib | |
| .dialog("help", (session: Session) => { | |
| session.endDialog(strings.global.help.message); | |
| }) | |
| .triggerAction({ | |
| // LUIS intent | |
| matches: "global:help" | |
| }); | |
| export default lib; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment