Slide 65
Slide 65 text
app.intent('basic', (conv) => {
// h c
if (!conv.surface.capabilities.has('actions.capability.SCREEN_OUTPUT')) {
conv.close(' R BasicCard ');
return;
}
conv.ask('BasicCard ’);
conv.ask(new BasicCard({
title: ' ',
subtitle: ' ',
text: '** ** ¥n *Ok Google,
*',
image: new Image({
url: ' URL',
alt: ' ',
}),
buttons: new Button({
title: 'n ',
url: 'https://assistant.google.com/services/a/uid/00000045ffe70d1e?hl=ja',
}),
display: 'CROPPED',
}));
// Suggest
conv.ask(new Suggestions(suggestions));
});
Copyright (C) 2019 Namito.Satoyama, Shinji.Ichien All Rights Reserved. hi e