Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>Location

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface Location
Re-export
import { type Location } from "https://deno.land/x/mtkruto@0.1.157/mod.ts";

A shared location.

Properties

latitude: number

The latitude of the location.

longitude: number

The longitude of the location.

optional
horizontalAccuracy: number

The accuracy radius of the location in meters. Must be in the range of 0-1500.

optional
livePeriod: number

The duration in which the location can be updated in seconds. Must be in the range of 80-864,000.

optional
heading: number

The direction which the user is moving towards. Must be in the range of 1-350.

optional
proximityAlertRadius: number

The maximum distance for proximity alerts on approaching another chat member in meters. Must be in the range 1-100,000.