-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Pass bot messages by return value
* Bot.respondWhenPostback(), Bot.respondWhenImage(), Bot.respondWhenText() now return the list of bot messages. * DialogManager.executeClassificationResults() and DialogManager.executeDialog() now return the list of bot messages. * DialogManager.execute() takes the previous bot messages as its 3rd parameter. * DialogManager.execute returns an object with keys dialogs and botMessages. BREAKING CHANGES: * Dialog.execute() returns an object with keys action and botMessage().
- Loading branch information
Michel Blancard
committed
Apr 18, 2018
1 parent
656d884
commit 2501685
Showing
5 changed files
with
73 additions
and
50 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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