I have an idea to use a telegram bot for food ordering from a smartphone. So, you have a menu, prices, there is a payment gateway. This part seems clear to me.
I was wondering if there any way to get a geolocation information inside telegram? So smartphone owner location is sent automatically.
The alternative I see are:
Maybe you can see better ways, perhaps telegram already got some related functionality?
Thank you!
If you want to show your Telegram friends and contacts your exact location, you can share your live location with your group or private conversations. In this way, there's no need to give complex instructions to tell people where you are. You can use the live location feature on the Telegram mobile app.
On some step (don't do it too early) you can send a button with the request_location
field set to true
.
When the user presses that button, Telegram asks the user if he wants to share his location with the bot.
The user then sends a location. Note that the user could also spoof the location.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With