Slide 9
Slide 9 text
画像表示(コード例)
const image = new ImageHelper()
.withDescription(description)
.addImageInstance(url)
.getImage();
const display: BodyTemplate3 = {
image,
textContent,
title,
type: 'BodyTemplate3',
};
return handlerInput.responseBuilder
.speak(speechText)
.addRenderTemplateDirective(display)
.getResponse();
API Meetup Tokyo #28 (2018/9/14)
9