TelegramBots icon indicating copy to clipboard operation
TelegramBots copied to clipboard

Add support for Spring Boot 3+

Open homich1991 opened this issue 1 year ago • 3 comments

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

homich1991 avatar Aug 23 '23 20:08 homich1991

I am also facing trouble while using this library with Spring Boot 3. Please release a new version for support

Juratbek avatar Sep 07 '23 12:09 Juratbek

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.

equeiroz1 avatar Sep 10 '23 17:09 equeiroz1

@Juratbek, while auto-config does not work automatically we have a workaround:

@Import(org.telegram.telegrambots.starter.TelegramBotStarterConfiguration.class)

mikhail-sidnev avatar Sep 18 '23 13:09 mikhail-sidnev

This should be fully supported now

rubenlagus avatar Jul 07 '24 12:07 rubenlagus