messageActionGeoProximityReached #

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

Layer 223

messageActionGeoProximityReached#98e0d697 from_id:Peer to_id:Peer distance:int = MessageAction;

Parameters #

NameTypeDescription
from_idPeerThe user or chat that is now in proximity of to_id
to_idPeerThe user or chat that subscribed to live geolocation proximity alerts
distanceintDistance, in meters (0-100000)

Type #

MessageAction

Live geolocation #

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