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

A block with a voice note, corresponding to the HTML tag <audio>.

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

- `type`: Type of the block, always "voice_note”
- `voice_note`: The voice note
- `caption (optional)`: Optional. Caption of the block

# `t`

```elixir
@type t() :: %ExGram.Model.RichBlockVoiceNote{
  caption: ExGram.Model.RichBlockCaption.t() | nil,
  type: String.t(),
  voice_note: ExGram.Model.Voice.t()
}
```

# `decode_as`

---

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