InputMediaLocation¶
- class telegram.InputMediaLocation(latitude, longitude, horizontal_accuracy=None, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectRepresents a location to be sent.
Use In
Available In
Added in version 22.8.
- Parameters:
latitude (
float) – Latitude of the location.longitude (
float) – Longitude of the location.horizontal_accuracy (
float, optional) – The radius of uncertainty for the location, measured in meters; 0-1500.