diff --git a/bundles/org.openhab.binding.telegram/src/main/java/org/openhab/binding/telegram/internal/action/TelegramActions.java b/bundles/org.openhab.binding.telegram/src/main/java/org/openhab/binding/telegram/internal/action/TelegramActions.java index 0aad42dde834c..2a372b5b7f0e3 100644 --- a/bundles/org.openhab.binding.telegram/src/main/java/org/openhab/binding/telegram/internal/action/TelegramActions.java +++ b/bundles/org.openhab.binding.telegram/src/main/java/org/openhab/binding/telegram/internal/action/TelegramActions.java @@ -237,8 +237,7 @@ private boolean sendTelegramGeneral(@ActionInput(name = "chatId") @Nullable Long } TelegramHandler localHandler = handler; if (localHandler != null) { - String escapedMessage = message.replace("_", "\\_"); - SendMessage sendMessage = new SendMessage(chatId, escapedMessage); + SendMessage sendMessage = new SendMessage(chatId, message); if (localHandler.getParseMode() != null) { sendMessage.parseMode(localHandler.getParseMode()); }