xabgesagtx / telegram-spring-boot-starter

Telegram Bot API Spring Boot Starter
MIT License
125 stars 41 forks source link

WebHookBots cannot be registered #3

Closed isopov closed 6 years ago

isopov commented 6 years ago

In TelegramBotAutoConfiguration default TelegramBotsApi is created with no arguments meaning useWebhook == false. And thus method registerBot(WebhookBot bot) does nothing.

xabgesagtx commented 6 years ago

@isopov I fixed this by introducing new properties. Also, mentioned in edited Readme.md. Are webhooks working for you now?

If yes, I will do a release asap.

xabgesagtx commented 6 years ago

Created release 0.15 which includes the fixes