草庐IT

Botbuilder

全部标签

MS Botbuilder(节点SDK):如何在卡中显示列表?

我正在显示一张卡片,其中文本部分具有3个应该在列表中显示的子弹点。letcontent={'title':'Title','text':"1.Sentenceforfirstpoint\n\n2.Sentenceforsecondpoint\n\n3.Sentenceforthirdpoint"}letcard=newbuilder.HeroCard(session).title(content.title).text(contents.text);letmsg=newbuilder.Message(session).attachments([card]);session.endDialog(

将位置发送到Botbuilder位置

我正在使用DirectlineAPI编写Xamarin实现的Xamarin实现,并希望以与FacebookMessenger的类似方式将当前位置发送到Botbuilder-Location插件。我需要在位置提示下发送什么格式消息才能获取我当前位置?看答案发布之前,我应该先查看源代码。似乎对Facebook频道有一个特殊的实现,因此无法“模拟”Facebook,但是通过对位置组件进行一些稍作调整,您可以使其工作起作用,但是使用该组件是不可能的。