RichBlockMap

class pyrogram.types.RichBlockMap[source]

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

Parameters:
  • 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, optional) – Caption of the block.