InputRichBlockMap
A block with a map, corresponding to the custom HTML tag <tg-map>. The map's width and height must not exceed 10000 in total. The width and height ratio must be at most 20.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the block, always “map” |
location | Location | required | Location of the center of the map |
zoom | number | optional | Optional. Map zoom level; 0-24 |
width | number | optional | Optional. Map width; 0-10000 |
height | number | optional | Optional. Map height; 0-10000 |
caption | RichBlockCaption | optional | Optional. Caption of the block |
import
import type { InputRichBlockMap } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#inputrichblockmap