InputRichBlockMap¶
- class aiogram.types.input_rich_block_map.InputRichBlockMap(*, type: Literal[InputRichBlockType.MAP] = InputRichBlockType.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>. The map’s width and height must not exceed 10000 in total. The width and height ratio must be at most 20.Source: https://core.telegram.org/bots/api#inputrichblockmap
- type: Literal[InputRichBlockType.MAP]¶
Type of the block, always ‘map’
- zoom: int¶
Map zoom level; 0-24
- width: int¶
Map width; 0-10000
- height: int¶
Map height; 0-10000
- caption: RichBlockCaption | None¶
Optional. Caption of the block