Class SpringWebhookBot.TestSpringWebhookBot

  • All Implemented Interfaces:
    org.telegram.telegrambots.meta.generics.TelegramBot, org.telegram.telegrambots.meta.generics.WebhookBot
    Enclosing class:
    SpringWebhookBot

    public class SpringWebhookBot.TestSpringWebhookBot
    extends SpringWebhookBot
    • Constructor Detail

      • TestSpringWebhookBot

        public TestSpringWebhookBot​(org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook)
      • TestSpringWebhookBot

        public TestSpringWebhookBot​(DefaultBotOptions options,
                                    org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook)
    • Method Detail

      • getBotUsername

        public String getBotUsername()
      • getBotToken

        public String getBotToken()
        Specified by:
        getBotToken in interface org.telegram.telegrambots.meta.generics.TelegramBot
        Specified by:
        getBotToken in class DefaultAbsSender
      • onWebhookUpdateReceived

        public org.telegram.telegrambots.meta.api.methods.BotApiMethod onWebhookUpdateReceived​(org.telegram.telegrambots.meta.api.objects.Update update)
      • getBotPath

        public String getBotPath()