BotexTelegram.Updaters.Telegram (botex_telegram v2.0.1)

The main module that is responsible for receiving new messages from the telegram

Summary

Functions

Returns a specification to start this module under a supervisor.

The function requests data from the telegram

Callback implementation for GenServer.init/1.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

handle_info(msg, state)

@spec handle_info(
  {:get_updates, integer()},
  map()
) :: {:noreply, map()}

The function requests data from the telegram

init(opts)

@spec init(any()) :: {:ok, map()}

Callback implementation for GenServer.init/1.

start_link(state \\ [])

@spec start_link(any()) :: :ignore | {:error, any()} | {:ok, pid()}