agala v3.0.0 Agala.Bot.Poller

Using

Include Agala.Bot.Poller into your supervision tree

Example

Supervisor.start_link([
  MyApp.TelegramPoller
], options)

Poller inside provider

Provider’s poller should be a GenServer realisation, that will take two params - Handler module and storage’s pid