在dialogflow版本2中如何返回或替换实现数据字段?当我收到填写时,此字段不会被通知,文档中也没有提到https://dialogflow.com/docs/reference/v2-comparison。
发布于 2018-04-11 21:54:59
这是现在的payload。看看:https://dialogflow.com/docs/fulfillment#response
"data": {
"google": {
"expectUserResponse": true,
"richResponse": {
"items": [
{
"simpleResponse": {
"textToSpeech": "this is a simple response"
}
}
]
}
},
"facebook": {
"text": "Hello, Facebook!"
},
"slack": {
"text": "This is a text response for Slack."
}
}现在是:
"payload": {
"google": {
"expectUserResponse": true,
"richResponse": {
"items": [
{
"simpleResponse": {
"textToSpeech": "this is a simple response"
}
}
]
}
},
"facebook": {
"text": "Hello, Facebook!"
},
"slack": {
"text": "This is a text response for Slack."
}
}https://stackoverflow.com/questions/49046764
复制相似问题