Annotation Type AfterBotRegistration
-
@Target(METHOD) @Retention(RUNTIME) public @interface AfterBotRegistration
Indicated that the Method of a Class extendingLongPollingBotwill be called after the bot was registered If the Method has a single Parameter of typeBotSession, the method get passed the bot session the bot was registered with
The bot session passed is the ones returned by
TelegramBotsApi.registerBot(LongPollingBot)