I am developing a Bot Framework application that integrates with Slack using Microsoft Bot technology. In a bot project, I tried to get the user's location when the user sent a message.
What I'm trying to achieve is that when the user enters the message “Show me nearby hospitals”, I want to get the coordinates of the Geo users and pass them an API that will return a list of hospitals near this place. So, any idea on how to get the user's current location in a Microsoft Bot project?
I tried to use the Geo location class, but I cannot add the class reference directly, and when I add the external DLL for the Geo location class, Visual Studio throws some errors.
Is there a way to get the current location of users in bots?
source share