Class TelegramWebhookBot

All Implemented Interfaces:
TelegramBot, WebhookBot

public abstract class TelegramWebhookBot extends DefaultAbsSender implements WebhookBot
Version:
1.0 Base abstract class for a bot that will receive updates using a webhook
Author:
Ruben Bermudez
  • Constructor Details

    • TelegramWebhookBot

      @Deprecated public TelegramWebhookBot()
      Deprecated.
      Overwriting the getBotToken() method is deprecated. Use the constructor instead
      If this is used getBotToken has to be overridden in order to return the bot token!
    • TelegramWebhookBot

      @Deprecated public TelegramWebhookBot(DefaultBotOptions options)
      Deprecated.
      Overwriting the getBotToken() method is deprecated. Use the constructor instead
      If this is used getBotToken has to be overridden in order to return the bot token!
    • TelegramWebhookBot

      public TelegramWebhookBot(String botToken)
    • TelegramWebhookBot

      public TelegramWebhookBot(DefaultBotOptions options, String botToken)
  • Method Details