# `ExGram.Updates.Polling`
[🔗](https://github.com/rockneurotiko/ex_gram/blob/0.64.0/lib/ex_gram/updates/polling.ex#L1)

Updates implementation using the polling method.

This GenServer continuously polls the Telegram Bot API for new updates using
`ExGram.get_updates!/1` with long polling (50 second timeout by default).

Automatically deletes any existing webhook on startup (configurable with
`:delete_webhook` option).

Configured with `config :ex_gram, updates: ExGram.Updates.Polling, polling: [...]`.

See the [Polling and Webhooks guide](polling-and-webhooks.md) for more details.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `init`

# `start_link`

---

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