Updates implementation using the webhook method.
This GenServer receives updates pushed from Telegram via webhooks. On startup,
it automatically calls ExGram.set_webhook/2 to register the webhook URL with
Telegram.
The webhook URL is constructed as <base_url>/<path>/<token_hash>, where
token_hash is a Base64-encoded SHA hash of the bot token.
The default <path> is /telegram, but it can be customized via the :path option in the configuration.
Configure the webhook with config :ex_gram, updates: ExGram.Updates.Webhook, webhook: [...].
See the Polling and Webhooks guide and ExGram.Plug
for more details.
Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Callback implementation for GenServer.init/1.