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

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

Can be used to send a venue geolocation.

Constructors

new
InputMediaVenue_(params: { geo_point: enums.InputGeoPoint; title: string; address: string; provider: string; venue_id: string; venue_type: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
address: string

Physical address of the venue

geo_point: enums.InputGeoPoint

Geolocation

provider: string

Venue provider: currently only "foursquare" and "gplaces" (Google Places) need to be supported

title: string

Venue name

venue_id: string

Venue ID in the provider's database

venue_type: string

Venue type in the provider's database

Static Properties

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