RichBlockMap
A block with a map, corresponding to the custom HTML tag <tg-map>.
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 | required | Map zoom level; 13-20 |
width | number | required | Expected width of the map |
height | number | required | Expected height of the map |
caption | RichBlockCaption | optional | Optional. Caption of the block |
import
import type { RichBlockMap } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#richblockmap