# `ExGram.Model.VideoNote`
[🔗](https://github.com/rockneurotiko/ex_gram/blob/0.64.0/lib/ex_gram.ex#L3883)

This object represents a video message (available in Telegram apps as of v.4.0).

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

- `file_id`: Identifier for this file, which can be used to download or reuse the file
- `file_unique_id`: Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
- `length`: Video width and height (diameter of the video message) as defined by the sender
- `duration`: Duration of the video in seconds as defined by the sender
- `thumbnail (optional)`: Optional. Video thumbnail
- `file_size (optional)`: Optional. File size in bytes

# `t`

```elixir
@type t() :: %ExGram.Model.VideoNote{
  duration: integer(),
  file_id: String.t(),
  file_size: integer() | nil,
  file_unique_id: String.t(),
  length: integer(),
  thumbnail: ExGram.Model.PhotoSize.t() | nil
}
```

# `decode_as`

---

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