# `ExGram.Model.InputPollOption`
[🔗](https://github.com/rockneurotiko/ex_gram/blob/0.67.0/lib/ex_gram.ex#L4363)

This object contains information about one answer option in a poll to be sent.

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

- `text`: Option text, 1-100 characters
- `text_parse_mode (optional)`: Optional. Mode for parsing entities in the text. See formatting options for more details. Currently, only custom emoji entities are allowed.
- `text_entities (optional)`: Optional. A JSON-serialized list of special entities that appear in the poll option text. It can be specified instead of text_parse_mode.
- `media (optional)`: Optional. Media added to the poll option

# `t`

```elixir
@type t() :: %ExGram.Model.InputPollOption{
  media: ExGram.Model.InputPollOptionMedia.t() | nil,
  text: String.t(),
  text_entities: [ExGram.Model.MessageEntity.t()] | nil,
  text_parse_mode: String.t() | nil
}
```

# `decode_as`

---

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