OffBroadway.Telegram.TelegramClient behaviour (OffBroadwayTelegram v0.1.0) View Source

A generic behavior to implement Telegram Client for OffBroadway.Telegram.Producer. This module defines callbacks to fetch updates from Telegram Bot Api via long polling

Link to this section Summary

Link to this section Callbacks

Link to this callback

get_updates(offset, limit, opts)

View Source

Specs

get_updates(offset :: integer(), limit :: pos_integer(), opts :: [atom()]) ::
  {new_offset :: pos_integer(), [Broadway.Message.t()]}