You have to put the
val telegramActionBot1 = getActions..
into the rule.
I had this too.. The rule is loaded before the action is available. So the action is null for the hole rule-file.
When putting the
val telegramActionBot1 = getActions..
in the rule itself it works.
I changed all my rules.. Other possibility is to reload the rules-file when the action is ready..
Greets