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

Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes.

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

- `source`: Error source, must be selfie
- `type`: The section of the user's Telegram Passport which has the issue, one of "passport”, "driver_license”, "identity_card”, "internal_passport”
- `file_hash`: Base64-encoded hash of the file with the selfie
- `message`: Error message

# `t`

```elixir
@type t() :: %ExGram.Model.PassportElementErrorSelfie{
  file_hash: String.t(),
  message: String.t(),
  source: String.t(),
  type: String.t()
}
```

# `decode_as`

---

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