telegramx.js

RichBlockMap

interface

A block with a map, corresponding to the custom HTML tag .

Declaration

interface RichBlockMap 

Properties

captionproperty#
caption?: RichBlockCaption;

Optional. Caption of the block

heightproperty#
height: number;

Expected height of the map

locationproperty#
location: Location;

Location of the center of the map

typeproperty#
type: 'map';

Type of the block, always "map"

widthproperty#
width: number;

Expected width of the map

zoomproperty#
zoom: number;

Map zoom level; 13-20