Telegex.get_webhook_info

You're seeing just the function get_webhook_info, go back to Telegex module for more information.

Specs

get_webhook_info() ::
  {:ok, Telegex.Model.WebhookInfo.t()} | {:error, Telegex.Model.errors()}

Use this method to get current webhook status. Requires no parameters. On success, returns a Telegex.Model.WebhookInfo object. If the bot is using getUpdates, will return an object with the url field empty.