Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>MessageMediaGeoLive_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class MessageMediaGeoLive_
import { MessageMediaGeoLive_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Indicates a live geolocation

Constructors

new
MessageMediaGeoLive_(params: { geo: enums.GeoPoint; heading?: number; period: number; proximity_notification_radius?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
geo: enums.GeoPoint

Geolocation

optional
heading: number

For live locations, a direction in which the location moves, in degrees; 1-360

period: number

Validity period of provided geolocation

optional
proximity_notification_radius: number

For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000).

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc