-
-
Notifications
You must be signed in to change notification settings - Fork 17
F.A.Q
To get a response and be able to operate over, you need to use sendReturning at the end of the method instead of send.
In this case the Response class is returned, which contains the response, success or failure, further you need to either handle the failure or just call getOrNull().
There's section about: Processing responses.
This happens because spring-boot-devtools has its own classloader and it does not find methods.
You need to add to resources/META-INF/spring-devtools.properties:
restart.include.generated=/eu.vendeliIf you want to change the engine used by the client you can simply change the (parameter)[https://vendelieu.github.io/telegram-bot/ktgram-gradle-plugin/eu.vendeli.ktgram.gradle/-kt-gram-ext/ktor-jvm-engine.html] in the (plugin settings)[https://vendelieu.github.io/telegram-bot/ktgram-gradle-plugin/eu.vendeli.ktgram.gradle/-kt-gram-ext/index.html].
The library uses slf4j-api and to use the provider you need you just need to add it to the dependencies.
The library plugin automatically detects the use of the provider, if it is missing, logback will be used by default.
Telegram bot Wiki © KtGram