I need to get user's current location.
I can ask for location by location keyboard and user will send his current location clicking on it. But he can also reply to message, choose any location on map and share it.
Either way, the returned results to my Bot are identical.(At least as I see.)
Is there a way or a trick to make sure that the shared location is also his current?
FYI - I'm using TeleBot library written in Node.js.(Even though I don't think it will affect the answer.)
My workaround is I ask user send the location twice.
If two location are different. I will keep ask them to send new location.
Another solution is I create another inline bot which will create an Venue result which includes security check. The Venue is generate by the inline bot using current user location.
Anyway, I would like to use native telegram bot api to do that. Wish Telegram team add this feature in future.
Updates: Telegram 4.4 released a new feature - live location which is very difficult to cheat https://telegram.org/blog/live-locations
There is no way to do that :(
I also have the same problem.