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>InputMediaGeoLive_

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

Constructors

new
InputMediaGeoLive_(params: { stopped?: true; geo_point: enums.InputGeoPoint; heading?: number; period?: number; proximity_notification_radius?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
geo_point: enums.InputGeoPoint

Current geolocation

optional
heading: number

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

optional
period: number

Validity period of the current location

optional
proximity_notification_radius: number

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

optional
stopped: true

Whether sending of the geolocation was stopped

Static Properties

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