Behaviour for handling updates in ExGram.Bot implementations.
Implement this behaviour in your bot module to handle incoming updates from Telegram.
The handle/2 callback receives parsed messages and a context struct, while
handle_error/1 handles any errors that occur during message processing.
See the Handling Updates guide for more details.
Summary
Types
Callbacks
@callback handle(ExGram.Dispatcher.parsed_message(), ExGram.Cnt.t()) :: ExGram.Cnt.t()
@callback handle_error(ExGram.Error.t()) :: any()
@callback init(init_opts()) :: :ok