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

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

Used to download a server-generated image with the map preview from a geoPoint, see the webfile docs for more info ».

Constructors

new
InputWebFileGeoPointLocation_(params: { geo_point: enums.InputGeoPoint; access_hash: bigint; w: number; h: number; zoom: number; scale: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
access_hash: bigint

Access hash of the geoPoint

geo_point: enums.InputGeoPoint

Generated from the lat, long and accuracy_radius parameters of the geoPoint

h: number

Map height in pixels before applying scale; 16-1024

scale: number

Map scale; 1-3

w: number

Map width in pixels before applying scale; 16-1024

zoom: number

Map zoom level; 13-20

Static Properties

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