InputMediaGeoLive#

class pyrogram.raw.types.InputMediaGeoLive#

Live geolocation.

Constructor of InputMedia.

Details:
  • Layer: 158

  • ID: 971FA843

Parameters:
  • geo_point (InputGeoPoint) – Current geolocation.

  • stopped (bool, optional) – Whether sending of the geolocation was stopped.

  • heading (int 32-bit, optional) – For live locations, a direction in which the location moves, in degrees; 1-360.

  • period (int 32-bit, optional) – Validity period of the current location.

  • proximity_notification_radius (int 32-bit, optional) – For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000).