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

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

Represents a location tag attached to a story, with additional venue information.

Constructors

new
MediaAreaVenue_(params: { coordinates: enums.MediaAreaCoordinates; geo: enums.GeoPoint; title: string; address: string; provider: string; venue_id: string; venue_type: string; })

Properties

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

Address

coordinates: enums.MediaAreaCoordinates

The size and location of the media area corresponding to the location sticker on top of the story media.

geo: enums.GeoPoint

Coordinates of the venue

provider: string

Venue provider: currently only "foursquare" needs 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