mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-13 06:32:03 +02: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");
|
"&parse_mode=MarkdownV2&text=" . [ $UrlEncode $Text ]) as-value ]->"data");
|
||||||
:set ($TelegramMessageIDs->[ :tostr ([ :deserialize from=json value=$Data ]->"result"->"message_id") ]) 1;
|
:set ($TelegramMessageIDs->[ :tostr ([ :deserialize from=json value=$Data ]->"result"->"message_id") ]) 1;
|
||||||
} on-error={
|
} on-error={
|
||||||
$LogPrint info $0 ("Failed sending telegram notification! Queuing...");
|
$LogPrint info $0 ("Failed sending Telegram notification! Queuing...");
|
||||||
|
|
||||||
:if ([ :typeof $TelegramQueue ] = "nothing") do={
|
:if ([ :typeof $TelegramQueue ] = "nothing") do={
|
||||||
:set TelegramQueue ({});
|
:set TelegramQueue ({});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue