docs: public void registerBot(WebhookBot bot) throws TelegramApiRequestException {
          if (useWebhook) {
              webhook.registerWebhook(bot);
              bot.setWebhook(externalUrl + bot.getBotPath(), pathToCertificate);
          }
      }