我已经为谷歌助理创建了谷歌主页行动。在某些情况下,它会在智能显示器上显示卡片。卡片标题显示在左上角。我开发这个应用程序的客户要求我在智能显示器的底部显示标题。有可能吗?如果是,请帮助我如何将标题移至智能显示器的底部角?
我尝试过使用格式化文本属性。我在这里引用了谷歌助理响应文档:https://developers.google.com/actions/assistant/responses。
{
"basicCard": {
"title": "Title",
"formattedText": "This is the Formatted Title",
"footer": "this is footer",
"buttons": [
{
"title": "Visit Website",
"openUrlAction": {
"url": url
}
}
]
}
}我期待卡片标题或格式化文本显示在屏幕的下端,但是卡片标题总是显示在屏幕的顶部。如何从上到下更改卡标题位置。

发布于 2019-04-07 18:31:23
我还没有试过,但我想TableCards应该能工作。你查过文档了吗

由于无法检测您实际使用的JSON格式,所以我以node.js示例代码为例:
// Simple table
conv.ask('Is that fine for you?')
conv.ask(new Table({
dividers: false,
columns: [''],
rows: [
[''],
['Your sting goes here'],
],
}))https://stackoverflow.com/questions/55561158
复制相似问题