# `ExGram.Model.RichBlockMap`
[🔗](https://github.com/rockneurotiko/ex_gram/blob/0.67.0/lib/ex_gram.ex#L7256)

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

Check the [documentation of this model on Telegram Bot API](https://core.telegram.org/bots/api#richblockmap)

- `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 (optional)`: Optional. Caption of the block

# `t`

```elixir
@type t() :: %ExGram.Model.RichBlockMap{
  caption: ExGram.Model.RichBlockCaption.t() | nil,
  height: integer(),
  location: ExGram.Model.Location.t(),
  type: String.t(),
  width: integer(),
  zoom: integer()
}
```

# `decode_as`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
