Location¶
- class pyrogram.types.Location
Bases:
ObjectA point on the map.
- Parameters:
longitude (
float) – Longitude as defined by sender.latitude (
float) – Latitude as defined by sender.accuracy_radius (
int, optional) – The estimated horizontal accuracy of the location, in meters.address (
str, optional) – Textual description of the address. Only set for business locations.live_period (
int, optional) – Time relative to the message sending date, during which the location can be updated, in seconds. For active live locations only.heading (
int, optional) – The direction in which user is moving, in degrees; 1-360. For active live locations only.proximity_alert_radius (
int, optional) – The maximum distance for proximity alerts about approaching another chat member, in meters. For sent live locations only.