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

Describes Telegram Passport data shared with the bot by the user.

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

- `data`: Array with information about documents and other Telegram Passport elements that was shared with the bot
- `credentials`: Encrypted credentials required to decrypt the data

# `t`

```elixir
@type t() :: %ExGram.Model.PassportData{
  credentials: ExGram.Model.EncryptedCredentials.t(),
  data: [ExGram.Model.EncryptedPassportElement.t()]
}
```

# `decode_as`

---

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