actions-on-google / actions-on-google-nodejs

Node.js client library for Actions on Google
https://actions-on-google.github.io/actions-on-google-nodejs
Apache License 2.0
899 stars 193 forks source link

HtmlResponse Vs Canvas #408

Closed mohd7469 closed 4 years ago

mohd7469 commented 4 years ago

I didn't see HtmlResponse in an updated version of action on google library is it depreciated or I am missing something also tell me about canvas response which one to use for building an interactive canvas project?

taycaldwell commented 4 years ago

Hi @awais786327,

If you are building your Interactive Canvas Action using Dialogflow with the actions-on-google-nodejs library, you will need to send an HtmlResponse.

You can read more about developing Interactive Canvas Actions with Dialogflow here.

If you are building your Interactive Canvas Action using Actions Builder with the assistant-conversation-nodejs library, you will need to send a Canvas response.

You can read more about developing Interactive Canvas Actions with Actions Builder here.

mohd7469 commented 4 years ago

image

mohd7469 commented 4 years ago

@taycaldwell from the picture above there I already have selected Games and fun category then why interactive canvas checkbox is missing on my action on google page?

taycaldwell commented 4 years ago

Hi @awais786327,

This setting has moved under Develop > Interactive Canvas, but it looks like it isn't present for Dialogflow projects. I have filed a bug internally to investigate and fix this issue.

Sorry for the inconvenience.