# `ExGram.Model.InputRichBlockPhoto`
[🔗](https://github.com/rockneurotiko/ex_gram/blob/0.69.0/lib/ex_gram.ex#L7755)

A block with a photo, corresponding to the HTML tag <img>.

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

- `type`: Type of the block, always "photo”
- `photo`: The photo. Caption is ignored.
- `caption (optional)`: Optional. Caption of the block

# `t`

```elixir
@type t() :: %ExGram.Model.InputRichBlockPhoto{
  caption: ExGram.Model.RichBlockCaption.t() | nil,
  photo: ExGram.Model.InputMediaPhoto.t(),
  type: String.t()
}
```

# `decode_as`

---

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