View Source OffBroadway.Telegram.Producer (OffBroadwayTelegram v1.0.0)

A GenStage producer that continuously polls messages from a Telegram Bot API getUpdates endpoint

Options

The following options are supported:

  • receive_interval - for how long (in milliseconds) a producer will wait before checking for updates. Default: 1000
  • client - a module-options tuple that implements OffBroadway.Telegram.TelegramClient behaviour. Default: {OffBroadway.Telegram.ReqClient, []}