Created
July 11, 2019 05:21
-
-
Save anchetaWern/b3a805fd076a35b5a2585be2be6ab4b1 to your computer and use it in GitHub Desktop.
Pokedex Bot: handleResponse in App.js
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
| handleResponse(result) { | |
| console.log(result); | |
| let text = result.queryResult.fulfillmentMessages[0].text.text[0]; | |
| let payload = result.queryResult.webhookPayload; | |
| this.showResponse(text, payload); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment