microsoft / BotFramework-Services

Microsoft Bot Framework Services
Creative Commons Attribution 4.0 International
38 stars 11 forks source link

Get User's coordinates in MS Team #312

Closed pannerselvam-yaltech closed 3 years ago

pannerselvam-yaltech commented 3 years ago

I would like to show near customers list in MAP with their address. so how can i get user live lat and lon in bot composer while using MS Team as Channel.

dmvtech commented 3 years ago

The Microsoft Bot Framework team prefers that how to questions be submitted on Stack Overflow. The official Bot Framework Github repos are the preferred platform for submitting bug fixes and feature requests.

dmvtech commented 3 years ago

There is no coordinate data that comes from ChannelData with the Teams channel. My assumption is that there is nothing that the Teams client would have that convey that, but you might want to look into Teams GRAPH stuff to confirm.

Additionally, you could ask the customer for their location and store that in user state. Then you could have an API/call in the bot that would lookup long/lat. Then you could send an activity to the user (probably an adaptive card) that would have the map.