-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[2] simplify text handlers as well (#371)
- Simplies `handleInput` and `initState` handler to handle just text events - `handleInput` is in charge of creating new (text) search session - `initState` takes input text from search session, no need to compose an event for it, greatly simplifies stuff - Removes `ChatbotEvent` completely, as postback and text event handlers has their own events - This also removes the mock `server_choose` events and type for `event.input`, as we no longer need those.
- Loading branch information
Showing
9 changed files
with
293 additions
and
545 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
Oops, something went wrong.