View Source Telegex.Hook.Handler behaviour (Telegex v1.2.1)

Generate your webhook handler, which includes a supervisor with a Plug-based child.

Link to this section Summary

Link to this section Callbacks

@callback on_boot() :: Telegex.Hook.Config.t()
@callback on_update(Telegex.Type.Update.t()) :: :ok | Telegex.Chain.result()