Class TelegramBotInitializer
- java.lang.Object
-
- org.telegram.telegrambots.starter.TelegramBotInitializer
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class TelegramBotInitializer extends Object implements org.springframework.beans.factory.InitializingBean
Receives all beand which are #LongPollingBot and #WebhookBot and register them in #TelegramBotsApi.
-
-
Constructor Summary
Constructors Constructor Description TelegramBotInitializer(org.telegram.telegrambots.meta.TelegramBotsApi telegramBotsApi, List<org.telegram.telegrambots.meta.generics.LongPollingBot> longPollingBots, List<org.telegram.telegrambots.meta.generics.WebhookBot> webHookBots)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()
-