Class SpringWebhookBot

java.lang.Object
org.telegram.telegrambots.meta.bots.AbsSender
All Implemented Interfaces:
org.telegram.telegrambots.meta.generics.TelegramBot, org.telegram.telegrambots.meta.generics.WebhookBot
Direct Known Subclasses:
SpringWebhookBot.TestSpringWebhookBot

public abstract class SpringWebhookBot extends TelegramWebhookBot
Version:
1.0
Author:
Ruben Bermudez
  • Constructor Details

    • SpringWebhookBot

      @Deprecated public SpringWebhookBot(org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook)
      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!
    • SpringWebhookBot

      @Deprecated public SpringWebhookBot(DefaultBotOptions options, org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook)
      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!
    • SpringWebhookBot

      public SpringWebhookBot(org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook, String botToken)
    • SpringWebhookBot

      public SpringWebhookBot(DefaultBotOptions options, org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook, String botToken)
  • Method Details

    • getSetWebhook

      public org.telegram.telegrambots.meta.api.methods.updates.SetWebhook getSetWebhook()