InputRichBlockMap¶
- class aiogram.types.input_rich_block_map.InputRichBlockMap(*, type: Literal[InputRichBlockType.MAP] = InputRichBlockType.MAP, location: Location, zoom: int | None = None, width: int | None = None, height: int | None = None, 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 | None¶
Optional. Map zoom level; 0-24
- width: int | None¶
Optional. Map width; 0-10000
- height: int | None¶
Optional. Map height; 0-10000
- caption: RichBlockCaption | None¶
Optional. Caption of the block