Last active
December 31, 2017 14:54
-
-
Save marcorei/2dce89be9da494966080895b6ac19c1b to your computer and use it in GitHub Desktop.
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
import { DialogflowApp } from 'actions-on-google' | |
export const name = 'demo_action' | |
export function handler(app: DialogflowApp) { | |
const paramNumber = parseInt(app.getArgument('number').toString()) | |
app.tell(`I incremented your number. Here you go: ${paramNumber + 1}`) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment