Location¶
- class pyrogram.types.Location¶
A point on the map.
- Parameters:
longitude (
float, optional) – Longitude as defined by sender.latitude (
float, optional) – Latitude as defined by sender.accuracy_radius (
int, optional) – The estimated horizontal accuracy of the location, in meters as defined by the sender.address (
str, optional) – Textual description of the address (mandatory).live_period (
int, optional) – For live locations, the time relative to the message send date, for which the location can be updated, in seconds.heading (
int, optional) – For live locations, a direction in which the location moves, in degrees; 1-360.proximity_alert_radius (
int, optional) – For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000).