rubenlagus / TelegramBots

Java library to create bots using Telegram Bots API
https://telegram.me/JavaBotsApi
MIT License
4.79k stars 1.23k forks source link

WebFlux support #970

Open hurek opened 3 years ago

hurek commented 3 years ago

Hello! I have a reactive application on WebFlux. I would like to add a bot as a component of the application. Is this library compatible with WebFlux/Reactor?

jeedbot commented 3 years ago

Hello

Chase22 commented 3 years ago

The library is build around threading and blocking operations. You are probably able to easily build a wrapper in the onUpdateReceived method and the executeAsync method. But it doesn't support reactive programming out of the box.