Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class FactsRepository {
getWaterFactRichResponse(waterFact) {
return this.dialogflowApp.buildRichResponse()
.addButton(waterFact.BUTTON, waterFact.LINK)
.setImage(waterFact.TITLE_IMG_URL, waterFact.TITLE_IMG)
getWaterFactAudioTextResponse(waterFact) {
return waterFact.SPEECH_TEXT;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.