mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
telegram-chat: log when sending notice
This commit is contained in:
parent
4c365c131d
commit
b81f3850ae
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ $WaitFullyConnected;
|
|||
:if ($Trusted = true) do={
|
||||
:local Done false;
|
||||
:if ($Message->"text" = "?") do={
|
||||
$LogPrintExit2 info $0 ("Sending notice for update " . $UpdateID . ".") false;
|
||||
$SendTelegram2 ({ origin=$0; chatid=($Chat->"id"); silent=true; replyto=($Message->"message_id"); \
|
||||
subject=([ $SymbolForNotification "speech-balloon" ] . "Telegram Chat"); \
|
||||
message=("Online, awaiting your commands!") });
|
||||
|
|
Loading…
Reference in a new issue