Closed dabadiesimon closed 4 years ago
@dabadiesimon the bug in the test interface is fixed on the demo platform, but how can you have more than one image in the response of WebConnector ?
Please checks the demo and let me know if everything is ok now ;)
@vsct-jburet
{ "responses": [ { "type": "WebMessage", "text": "EPIs pour quelle méthode ?", "version": "1" }, { "type": "WebMessage", "card": { "file": { "url": "https://demo-bot.tock.ai/f/dabadiesimonaf43ba43-c88c-4a15-972c-671d12df188e.png", "name": "man.png", "type": "image" }, "buttons": [ { "clazz": "postback_button", "title": "percage/gel hydrique", "type": "postback" }, { "clazz": "postback_button", "title": "percage/humidification", "type": "postback" } ] }, "version": "1" }, { "type": "WebMessage", "text": "2e texte", "version": "1" }, { "type": "WebMessage", "card": { "file": { "url": "https://demo-bot.tock.ai/f/dabadiesimonaa4d38f5-819c-488b-a356-c7346503a58c.png", "name": "Heka_Logo-01.png", "type": "image" }, "buttons": [ { "clazz": "postback_button", "title": "percage/gel hydrique", "type": "postback" }, { "clazz": "postback_button", "title": "percage/humidification", "type": "postback" } ] }, "version": "1" } ] }
Will be fixed on the demo platform soon
On tock Studio: When adding an image as answer in a story with buttons :
1) has been replicated on current online version + version 20 2) has been experimented on version 20 (not tested on current online version)
Images are from online version