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

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

Send a geolocation

Constructors

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

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.

optional
period: number

Validity period

optional
proximity_notification_radius: number

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

optional
reply_markup: enums.ReplyMarkup

Inline keyboard

Static Properties

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