I have been using the PyTelegramBotAPI
to handle current location
with the content handler:
@bot.message_handler(content_types=['location'])
I am able to get the latitude and longitude which is really great.
However, below the current location option, I can send the bot a place. (seems that it does not have lat/lon
data but it is an address) Which content handler should I use to handle it? I tried finding some documentation on https://pypi.org/project/pyTelegramBotAPI/0.3.0/
but i cant find any :(
Many thanks if you could point me in the right direction :) Attached a picture of the send current location/place option:
Solved! Use
@bot.message_handler(content_types=['venue'])
to handle places sent by users.