dialogflow-cordova-client
dialogflow-cordova-client copied to clipboard
custom payload is not contained in response
I followed the tutorial and created a weather agent, and successfully connected to my ionic app,
everything seemed to work well, except after I changed the text response to a custom payload which is used to config customized cards and images, the custom payload json wasn't contained in response.
I tried javascript sdk also, they correctly responsed with custom payload json. I assume it's a bug of cordova client, can any people confirm that?
here is my custom json.
{ "objectType": "quick replies", "text": "Awesome quick replies where you can send...", "replies": [ { "title": "...some text", "payload": "some text", "type": "text" }, { "title": "...some text", "payload": "some text", "type": "text" } ] }
Is there anybody looking into this ? I need custom payload returned for an ionic based mobile app ...