mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
mod/notification-telegram: capitalize Telegram in message
This commit is contained in:
parent
e7cdb2d7f4
commit
d6e315580b
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@
|
|||
"&parse_mode=MarkdownV2&text=" . [ $UrlEncode $Text ]) as-value ]->"data");
|
||||
:set ($TelegramMessageIDs->[ :tostr ([ :deserialize from=json value=$Data ]->"result"->"message_id") ]) 1;
|
||||
} on-error={
|
||||
$LogPrint info $0 ("Failed sending telegram notification! Queuing...");
|
||||
$LogPrint info $0 ("Failed sending Telegram notification! Queuing...");
|
||||
|
||||
:if ([ :typeof $TelegramQueue ] = "nothing") do={
|
||||
:set TelegramQueue ({});
|
||||
|
|
Loading…
Reference in a new issue