flask-assistant icon indicating copy to clipboard operation
flask-assistant copied to clipboard

Support for table cards

Open jmidd opened this issue 6 years ago • 2 comments

Have you seen the new table cards ? https://developers.google.com/actions/assistant/responses - Any plans to support them ? If there are no plans, could someone point me in the right direction and I'll try make the changes myself.

jmidd avatar Jan 23 '19 03:01 jmidd

Yes, I have seen them and do plan to support them in addition to the media responses.

I will try to implement them soon, but if you'd like to look into it yourself, you would create a response class in response.py, provide methods to add rows to the table, and return the proper JSON as a response.

It would likely work similar to the ListSelector and CarouselCard classes

treethought avatar Jan 23 '19 23:01 treethought

Thanks for the reply, I'll have a look when I've got the voice part of my action finished.

jmidd avatar Jan 27 '19 19:01 jmidd