Skip to content

GramIO API Reference / gramio/dist / TelegramLocation

Interface: TelegramLocation

Defined in: @gramio/types/out/objects.d.ts:2051

This object represents a point on the map.

Documentation

Properties

PropertyTypeDescriptionDefined in
heading?numberOptional. The direction in which user is moving, in degrees; 1-360. For active live locations only.@gramio/types/out/objects.d.ts:2071
horizontal_accuracy?numberOptional. The radius of uncertainty for the location, measured in meters; 0-1500@gramio/types/out/objects.d.ts:2063
latitudenumberLatitude as defined by the sender@gramio/types/out/objects.d.ts:2055
live_period?numberOptional. Time relative to the message sending date, during which the location can be updated; in seconds. For active live locations only.@gramio/types/out/objects.d.ts:2067
longitudenumberLongitude as defined by the sender@gramio/types/out/objects.d.ts:2059
proximity_alert_radius?numberOptional. The maximum distance for proximity alerts about approaching another chat member, in meters. For sent live locations only.@gramio/types/out/objects.d.ts:2075