我需要能够请求位置并在 waterfall 对话框流中处理该位置(目前我只关心 Facebook Messenger)
我想在构建器提示中询问位置,尽管最接近的类型是附件,但需要用户的视频或图像响应。
我希望看到用户处理的响应,因为我可以看到此工作的唯一方法是设置一个标志,表明我已经提出了该问题,并明确捕获响应(如果它是位置响应)。虽然,这并不是我真正想要的功能。
有人有办法解决这个问题吗?
谢谢, 斯科特
编辑;我正在寻找需要使用位置快速回复的解决方案。
最佳答案
要询问位置,我建议您使用 Bing Location Control for Microsoft Bot Framework 。
The Bing location control for Microsoft Bot Framework makes the process of collecting and validating the user's desired location in a conversation easy and reliable. The control is available for C# and Node.js and works consistently across all channels supported by Bot Framework.
关于node.js - Microsoft Bot Framework 对话框不处理发送的 Facebook 位置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42476156/