TelegramBots icon indicating copy to clipboard operation
TelegramBots copied to clipboard

telegrambots-spring-boot-starter: add support for TelegramLongPollingCommandBot

Open centralhardware opened this issue 4 years ago • 1 comments

automatic register BotCommand in TelegramLongPollingCommandBot

it's allow to use ideomatic spring DI in BotCommand classes

centralhardware avatar Apr 08 '21 10:04 centralhardware

I've nothing against the idea, but the implementation kinda forces you to use the long pooling mechanism, while this is implemented in spring extension which is by nature is a web serving framework. I just think it makes no sense the way command bot implementation works to be directly integrated that way.

UnAfraid avatar Apr 19 '21 23:04 UnAfraid