Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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