问题描述
当我们有一个简单的答复和带有链接输出按钮的基本卡时。如果用户在Google助手完成阅读之前单击链接打开网页视图页面,请参见以下代码。 Google助理完成阅读后,将强制关闭Web视图页面。用户必须再次单击该按钮才能打开Web视图。当Google助手激活监听模式后,响应似乎已重置。
{
"expectUserResponse": true,"expectedInputs": [
{
"possibleIntents": [
{
"intent": "actions.intent.TEXT"
}
],"inputPrompt": {
"richInitialPrompt": {
"items": [
{
"simpleResponse": {
"ssml": "<speak>\r\n <audio src=\"…audio file location url…">some long text message\ r\n</speak>","displayText": " some long text message”
}
},{
"basicCard": {
"title": "","subtitle": "","formattedText": "","buttons": [
{
"title": "title","openUrlAction": {
"url": "… url…","urlTypeHint": 0
}
}
]
}
}
]
}
}
}
],"isInSandBox": false
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)