【发布时间】:2018-08-11 12:24:35
【问题描述】:
我创建了一个具有 Cortana 技能的聊天机器人(Microsoft Botframework),我试图提示用户上传附件。
提示要求用户按指定上传文件(代码如下),但我看不到在 Cortana 中上传文件的可能性。有没有办法使这项工作?非常感谢!
var dialog = new PromptDialog.PromptAttachment("Please upload the sick
note you received from your doctor.", "Sorry, I didn't get the document.
Try again please.", 2);
context.Call(dialog,this.uploadAttachmentResumeAfter);
【问题讨论】:
-
我对 Cortana 技能的体验是它们相当有限。您是否尝试过拖放文件?
-
我没试过,但我在 github 上看到了 send/receive sn-ps。做他们的工作?您唯一需要注意的是 deviceInfo 和检查屏幕。
标签: c# attachment cortana