Image Replies

Image replies can be displayed in the Bot UI’s ‘chat-flow’.

You configure these via the 'Custom Payload' reply option, in the Dialogflow console, as a 'Json' formatted response.

If you supply more than one ‘item’ in the Json 'message.image' array, an item will be selected at random from your array.

Example


          

Json

{ "platform": "mindkit", "version": "1.0.0", "message": { "image": [ { "title": "Image Example A", "url": "https://media.giphy.com/media/Cmr1OMJ2FN0B2/giphy-downsized.gif" }, { "title": "Image Example B", "url": "https://media.giphy.com/media/bMSnzSLLWDIBNfmOHL/giphy-downsized.gif" }, { "title": "Image Example C", "url": "https://media.giphy.com/media/MWSRkVoNaC30A/giphy-downsized.gif" } ] } }

This should be sent as a 'custom payload' from Dialogflow