Skip to content

GramIO API Reference / gramio/dist / TelegramLocation

Interface: TelegramLocation

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

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:2381
horizontal_accuracy?numberOptional. The radius of uncertainty for the location, measured in meters; 0-1500@gramio/types/out/objects.d.ts:2373
latitudenumberLatitude as defined by the sender@gramio/types/out/objects.d.ts:2365
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:2377
longitudenumberLongitude as defined by the sender@gramio/types/out/objects.d.ts:2369
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:2385