Class TelegramConfig

java.lang.Object
com.bytedesk.social.telegram.config.TelegramConfig

@Configuration public class TelegramConfig extends Object
  • Constructor Details

    • TelegramConfig

      public TelegramConfig()
  • Method Details

    • telegramBotsApplication

      @Bean @ConditionalOnMissingBean(org.telegram.telegrambots.longpolling.TelegramBotsLongPollingApplication.class) public org.telegram.telegrambots.longpolling.TelegramBotsLongPollingApplication telegramBotsApplication()
    • telegramBotInitializer

      @Bean @ConditionalOnMissingBean public TelegramBotInitializer telegramBotInitializer(org.telegram.telegrambots.longpolling.TelegramBotsLongPollingApplication telegramBotsApplication, org.springframework.beans.factory.ObjectProvider<List<SpringLongPollingBot>> longPollingBots, org.springframework.beans.factory.ObjectProvider<org.telegram.telegrambots.meta.TelegramUrl> telegramUrl)