Annotation Type AfterBotRegistration


@Target(METHOD) @Retention(RUNTIME) public @interface AfterBotRegistration
Indicated that the Method of a Class extending LongPollingBot will be called after the bot was registered If the Method has a single Parameter of type BotSession, the method get passed the bot session the bot was registered with

The bot session passed is the ones returned by TelegramBotsApi.registerBot(LongPollingBot)