parent
6c170db1bd
commit
1d23c32de1
|
@ -237,7 +237,8 @@ public class TelegramActions implements ThingActions {
|
|||
}
|
||||
TelegramHandler localHandler = handler;
|
||||
if (localHandler != null) {
|
||||
SendMessage sendMessage = new SendMessage(chatId, message);
|
||||
String escapedMessage = message.replace("_", "\\_");
|
||||
SendMessage sendMessage = new SendMessage(chatId, escapedMessage);
|
||||
if (localHandler.getParseMode() != null) {
|
||||
sendMessage.parseMode(localHandler.getParseMode());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue