peyk.platforms.telegram.types.rich_block_map¶
Classes
|
A block with a map, corresponding to the custom HTML tag . |
- class peyk.platforms.telegram.types.rich_block_map.RichBlockMap(latitude: float = 0.0, longitude: float = 0.0)[source]¶
Bases:
objectA block with a map, corresponding to the custom HTML tag .
- Variables:
type – Type of the block, always ‘map’
location – Location of the center of the map
zoom – Map zoom level; 13-20
width – Expected width of the map
height – Expected height of the map
caption – Caption of the block
- latitude: float = 0.0¶
- longitude: float = 0.0¶