如何通过 Twilio WhatsApp API 将英雄卡从机器人框架发送到 WhatsApp

问题描述:

我目前正在使用 Twilio WhatsApp API 和 Bot Framework Direct Line 渠道来尝试将我的聊天机器人集成到 WhatsApp.

I'm currently using Twilio WhatsApp API and Bot Framework Direct Line channel to try integrating my chatbot to WhatsApp.

因为我的聊天机器人对话是有引导的,所以使用了很多 PromptDialog.Choices 消息(这是一张英雄卡片).有没有办法使用 Twilio WhatsApp API 将这些消息按预期形式(意味着带有单击按钮)发送到 Whatsapp?

Since my chatbot conversation is guided, a lot of PromptDialog.Choices messages are used (which is a hero cards). Is there a way to send these messages as their expected form (meaning with buttons for clicking) to Whatsapp using Twilio WhatsApp API ?

Twilio 开发人员布道者在这里.

Twilio developer evangelist here.

目前用于 WhatsApp 的 Twilio API 不支持媒体.这是正在开发中.

Currently the Twilio API for WhatsApp doesn't support media. This is being developed.

但是,WhatsApp API 本身不支持用于回复消息的英雄卡片或按钮.

However, the WhatsApp API itself doesn't support the concept of a hero card or buttons for responding to messages.