mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-15 07:22:22 +02:00
telegram-chat: use complete property name
This commit is contained in:
parent
aee42d31e1
commit
58a6fac3d9
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ $WaitFullyConnected;
|
||||||
:if ([ :len [ /file/find where name=($File . ".failed.txt") ] ] > 0) do={
|
:if ([ :len [ /file/find where name=($File . ".failed.txt") ] ] > 0) do={
|
||||||
:set State "The command failed with an error!\n\n";
|
:set State "The command failed with an error!\n\n";
|
||||||
}
|
}
|
||||||
:local Content [ /file/get ($File . ".txt") content ];
|
:local Content [ /file/get ($File . ".txt") contents ];
|
||||||
$SendTelegram2 ({ origin=$0; chatid=$ChatID; silent=false; \
|
$SendTelegram2 ({ origin=$0; chatid=$ChatID; silent=false; \
|
||||||
subject=([ $SymbolForNotification "speech-balloon" ] . "Telegram Chat"); \
|
subject=([ $SymbolForNotification "speech-balloon" ] . "Telegram Chat"); \
|
||||||
message=("Command:\n" . $Text . "\n\n" . $State . [ $IfThenElse ([ :len $Content ] > 0) \
|
message=("Command:\n" . $Text . "\n\n" . $State . [ $IfThenElse ([ :len $Content ] > 0) \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue