Constructor schema is available as of layer 91. Switch ยป
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
stopped | flags.0?true | Whether sending of the geolocation was stopped |
geo_point | InputGeoPoint | Current geolocation |
heading | flags.2?int | For live locations, a direction in which the location moves, in degrees; 1-360. |
period | flags.1?int | Validity period of the current location |
proximity_notification_radius | flags.3?int | For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000) |
Telegram allows sending the live geolocation of a user in a chat, optionally setting a proximity alert.