messageActionGeoProximityReached

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

Constructor schema is available as of layer 120. Switch ยป

Parameters

Name Type Description
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 Distance, in meters (0-100000)

Type

MessageAction

Related pages

Live geolocation

Telegram allows sending the live geolocation of a user in a chat, optionally setting a proximity alert.