I would like to know if it is possible to send commands to the BOT from openhab. I made this rule:
rule "test telegram" when Item test received command then val String test_command= "/ledon" sendTelegram("bot2", "" + test_command ) end
writes the command to the chat, but does not run. If instead I write /ledon in the telegram chat it works, and it turns on the led.
Thanks for your help