Google 上的操作 - 您对用户的回复是否可以将文本或图片发送到 Google 家庭应用程序?

Actions on Google - can your response to the user send text or pictures to the Google Home app?

具体来说,Alexa Skills Kit 中是否存在等同于 the capability described here 的东西,您可以在其中发送卡片以响应您的技能?

是的,Alexa 支持在 Alexa 应用程序中显示卡片作为其响应的一部分。你如何做到这一点取决于你使用的是哪个 Alexa 框架或 SDK,但这一点也不难。 例如,我正在使用 alexa-app 框架,我会添加如下内容:

response.card({
  type: "Standard",
  title: "My Cool Card", // this is not required for type Simple or Standard 
  text: "Your ride is on the way to 123 Main Street!\nEstimated cost for this ride: ",
  image: { // image is optional 
    smallImageUrl: "https://carfu.com/resources/card-images/race-car-small.png", // required 
    largeImageUrl: "https://carfu.com/resources/card-images/race-car-large.png"
  }
});

截至 2017/04 年,我很确定不可能寄出卡片。

Google Action Documentation and on API.AI, the Card feature 中表示没有此类功能不可用。

使用 displayText,您可以区分语音文本和显示文本,但这并不是真正意义上的富消息,您可以在其中添加图像、按钮、标题等。

不过,我 100% 肯定很快就会添加此功能。

现在可用。

参考文档:https://developers.google.com/actions/reference/nodejs/RichResponse

示例: https://developers.google.com/actions/apiai/tutorials/google-facts