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

This object represents an answer of a user in a non-anonymous poll.

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

- `poll_id`: Unique poll identifier
- `option_ids`: 0-based identifiers of chosen answer options. May be empty if the vote was retracted.
- `voter_chat (optional)`: Optional. The chat that changed the answer to the poll, if the voter is anonymous
- `user (optional)`: Optional. The user that changed the answer to the poll, if the voter isn't anonymous

# `t`

```elixir
@type t() :: %ExGram.Model.PollAnswer{
  option_ids: [integer()],
  poll_id: String.t(),
  user: ExGram.Model.User.t() | nil,
  voter_chat: ExGram.Model.Chat.t() | nil
}
```

# `decode_as`

---

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