Hello,
Can anyone help me creating visual output for Alexa?
I followed the docs (https://www.jovo.tech/docs/amazon-alexa/visual-output) ut I couldn’t add the code snippets (typescript) to my project.
Is it possible that the code snippets are broken and can anyone provide me with a possible fix?
I added the following template to my handler function
...
let bodyTemplate1 = this.$alexaSkill!.templateBuilder('BodyTemplate1');
bodyTemplate1.setToken('token')
.setTitle('Title')
.setTextContent('Primary Text', 'Secondary Test', 'Tertiary Text');
this.$alexaSkill!.showDisplayTemplate(bodyTemplate1);
...
but I cannot compile the typescript code due to the fact that there is no .setTextContent method.
Cheers, Michael