Slide 37
Slide 37 text
Display basic cards
https://developers.google.com/actions/assistant/responses
conv.ask('Math and prime numbers it is!')
conv.ask(new BasicCard({
text: '42 is an even composite number. It is composed of three distinct prime ' +
'numbers multiplied together. It has a total of eight divisors. 42 is an ' +
'abundant number, because the sum of its proper divisors 54 is greater ' +
'than itself. To count from 1 to 42 would take you about twenty-one…',
title: 'Math & prime numbers',
buttons: new Button({
title: 'Read more',
url: 'https://example.com',
}),
image: new Image({
url: 'https://example.google.com/42.png',
alt: 'Image alternate text',
}),
}));