Created
November 5, 2017 11:41
-
-
Save frogermcs/f96a42dad921298c8708fd8e39b52f9f to your computer and use it in GitHub Desktop.
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
class Conversation { | |
//... | |
//Intent update_settings | |
actionUpdateSettings() { | |
this._askForUserName(); | |
} | |
_askForUserName() { | |
const permission = this.dialogflowApp.SupportedPermissions.NAME; | |
this.dialogflowApp.askForPermission(Str.PERMISSIONS_ASK_FOR_NAME, permission); | |
} | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment