我将以下回复发送给用户,用户要求他获得访问姓名和位置以下达订单的权限。如何为他提供Google助手应用的建议筹码?放入suggestions:[{"title":"Yes"},{"title":"No"},{"title":"Cancel"}]
无效...
{
"payload": {
"google": {
"expectUserResponse": true,
"systemIntent": {
"intent": "actions.intent.PERMISSION",
"data": {
"@type": "type.googleapis.com/google.actions.v2.PermissionValueSpec",
"optContext": "To deliver your order",
"permissions": [
"NAME",
"DEVICE_PRECISE_LOCATION"
]
}
}
}
}
}
答案 0 :(得分:0)
当您在操作中将许可请求发送回助手时,Google会完整处理对话的这一步。添加建议筹码不能回传。