我正在使用 Microsoft Bot Framework 开发一个 Bot,该 bot 将通过向用户发送一些图像来响应。我用 slack 和 skype 配置了它。
在 slack 中显示图像,但在 Skype 中没有任何内容。
要发送图片,我使用了以下语法
var replyMessage = "";
return message.CreateReplyMessage(replyMessage);
参考dev.botfrmaework.com, Text 属性是 Markdown 部分清楚地提到了如何链接图像来回复消息。
如果我只回复如下链接,Skype 能够理解和显示链接。但是如果我像上面提到的Skype无法理解。
var replyMessage = "[ImgName](" + ImagesUrl + ")";
return message.CreateReplyMessage(replyMessage);