[Docs] Google Action Visual Output


#1

Learn more about how to build Google Actions with visual output using the Jovo Framework.

Visual output is used to describe or enhance the voice interaction.


This is a companion discussion topic for the original entry at https://www.jovo.tech/docs/google-assistant/visual-output

#2

I’m not able to create an Object of the GoogleAssistant List

let list = new GoogleAssistant.List();
gives me this error:

GoogleAssistant.List is not a constructor

const { GoogleAssistant } = require('jovo-platform-googleassistant');
is written in the app.js as well

Edit: I think it’s a bug cause I got the same problem with the carousel selector and the option Item in general (correct me if I’m wrong).
So I reported that problem as a bug: https://github.com/jovotech/jovo-framework/issues/564


#3

You need to add List in the require statement. Like this:

const {
GoogleAssistant,
  BasicCard,
  Carousel,
  List,
  OptionItem,
  CarouselBrowse,
  CarouselItem,
  CarouselBrowseTile,
  Table
} = require('jovo-platform-googleassistant');