MessageActionGeoProximityReached#

class pyrogram.raw.types.MessageActionGeoProximityReached#

A user of the chat is now in proximity of another user.

Constructor of MessageAction.

Details:
  • Layer: 158

  • ID: 98E0D697

Parameters:
  • from_id (Peer) – The user or chat that is now in proximity of to_id.

  • to_id (Peer) – The user or chat that subscribed to live geolocation proximity alerts.

  • distance (int 32-bit) – Distance, in meters (0-100000).