TelegramBots
TelegramBots copied to clipboard
Add support for Spring Boot 3+
In accordance to documentation on migration to SpringBoot 3 autoconfiguration file, from now should be placed slightly different.
Keeping both files (old and new) will keep support for versions older than Spring Boot 3 and will bring support of newer versions.
Also added documentation on @AfterBotRegistration annotation
I am also facing trouble while using this library with Spring Boot 3. Please release a new version for support
There is already a PR fixing this: #1196 . I don't know why it's not merged.
@rubenlagus could you please do it ? Thanks in advance.
@Juratbek, while auto-config does not work automatically we have a workaround:
@Import(org.telegram.telegrambots.starter.TelegramBotStarterConfiguration.class)
This should be fully supported now