Class TelegramConfig
java.lang.Object
com.bytedesk.social.telegram.config.TelegramConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontelegramBotInitializer
(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) org.telegram.telegrambots.longpolling.TelegramBotsLongPollingApplication
-
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)
-