could someone explain to me, why this rule works, although I get the error below?
The bot sends the message.
Here is the DSL rule:
val telegramAction = getActions("telegram","telegram:telegramBot:<mybotid1234567890>")
And here is the Error Log
==> /var/log/openhab/openhab.log <==
2021-12-17 08:32:41.464 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID 'd06233b996' failed: java.lang.NumberFormatException: Expected an int but was <mybotid1234567890> at line 1 column 62 path $.result.from.id
I checked that int means a number and my botid is a 10 digit number.
Just for understanding purposes, since the message goes out anyway.
You need to upgrade as there was a bug in the telegram library that the binding uses. I changed the version of the library for other reasons many months ago so the fix will be in at least half of the 3,2 milestone builds and the RC1 release candidate for 3,2 stable.