Annotation Interface AfterBotRegistration


@Target(METHOD) @Retention(RUNTIME) public @interface AfterBotRegistration
Indicated that the Method of a Class extending SpringLongPollingBot 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
<br&amp;gt;

The bot session passed is the ones returned by TelegramBotsLongPollingApplication.registerBot(String, LongPollingUpdateConsumer)</p>