閒聊

[Dialogflow] webhook的輸出json範例

{"fulfillmentText":"Sorry, that action is not available on this platform.","payload":{"google":{"expectUserResponse":true,"richResponse":{"items":[{"simpleResponse":{"textToSpeech":"Say this out loudssss","displayText":"Say this out loudssss"}},{"basicCard":{"title":"\u5361\u7247\u6a19\u984c","subtitle":"\u5361\u7247\u6558\u8ff0","formattedText":"The paragraph text of the card","image":{"url":"https:\/\/www.pakmen.com\/wp-content\/uploads\/2016\/09\/canadian-flag.jpg","accessibilityText":"A photo of something","height":200,"width":400},"buttons":[{"title":"more info","openUrlAction":{"url":"https:\/\/example.com"}}],"imageDisplayOptions":"DEFAULT"}},{"simpleResponse":{"textToSpeech":"new say","displayText":"\u986f\u793a\u51fa\u4f86\u7684\u53e5\u5b50"}}]}}}}
Be the First to comment.

Leave a Comment

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

(若看不到驗證碼,請重新整理網頁。)