Last active
December 14, 2016 12:53
-
-
Save fhenri42/c1d271b484aa1d564eee18bb1490723f to your computer and use it in GitHub Desktop.
choseTraing()
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
/* send back the quick reply to make the good choose*/ | |
function choseTraing() { | |
return [{ | |
type: 'text', | |
content: 'Great choice! I just received a message from an old jedi living as a hermit on the planet Dagobah, looking for a new padawan!', | |
}, { | |
type: 'quickReplies', | |
content: { | |
title: 'Do you want to go on Dagobah to meet him? Or use your new ship to explore space?', | |
buttons: [ | |
{ | |
type: 'text', | |
title: 'fly to Dagobah', | |
value: 'fly to Dagobah', | |
}, { | |
type: 'text', | |
title: 'Travel to space', | |
value: 'Travel to space', | |
}, | |
], | |
}, | |
}, | |
] | |
} | |
module.exports = choseTraing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment