InputRichBlockMap

class pyrogram.types.InputRichBlockMap[source]

A map block, corresponding to the HTML tag <map>.

Embeds a geographic map with a pin at the specified location.

Parameters:
  • geo (InputGeoPoint) – Geolocation of the map pin.

  • zoom (int) – Map zoom level (typically 1-20).

  • w (int) – Map width in pixels.

  • h (int) – Map height in pixels.

  • caption (str | RichText, optional) – Caption of the map.