RichBlockMap

class aiogram.types.rich_block_map.RichBlockMap(*, type: Literal[RichBlockType.MAP] = RichBlockType.MAP, location: Location, zoom: int, width: int, height: int, caption: RichBlockCaption | None = None, **extra_data: Any)[source]

A block with a map, corresponding to the custom HTML tag <tg-map>.

Source: https://core.telegram.org/bots/api#richblockmap

type: Literal[RichBlockType.MAP]

Type of the block, always ‘map’

location: Location

Location of the center of the map

zoom: int

Map zoom level; 13-20

width: int

Expected width of the map

height: int

Expected height of the map

caption: RichBlockCaption | None

Optional. Caption of the block