Telegram worked fine for me in OH3 with DSL, now converted everything into ECMA though, the code for DSL would be:
val telegramAction = getActions(“telegram”,“telegram:telegramBot:BOT”)
telegramAction.sendTelegram(“MSG”)
For ECMA:
var telegramAction = actions.get("telegram","telegram:telegramBot:telegram"); telegramAction.sendTelegram("Message");
Hope it helps.