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

Represents a chat member that was banned in the chat and can't return to the chat or view chat messages.

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

- `status`: The member's status in the chat, always "kicked”
- `user`: Information about the user
- `until_date`: Date when restrictions will be lifted for this user; Unix time. If 0, then the user is banned forever

# `t`

```elixir
@type t() :: %ExGram.Model.ChatMemberBanned{
  status: String.t(),
  until_date: integer(),
  user: ExGram.Model.User.t()
}
```

# `decode_as`

---

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