mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-24 21:04:28 +02: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…
Add table
Add a link
Reference in a new issue