There's another way that can be considered or just more information for your reference.
You can download the source code from the official repository: https://github.com/rubenlagus/TelegramBots
And then build the jar files locally and add them back to your maven project.
The latest version 7.10.0 is compatible with Spring boot 3.2.3
Notice that the telegrambots-spring-boot-starter is gone but became telegrambots-springboot-longpolling-starter and telegrambots-springboot-webhook-starter.