mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions: $FlushTelegramQueue: disable web page preview
... just as without queue.
This commit is contained in:
parent
06b235b3b7
commit
4b945da907
1 changed files with 2 additions and 1 deletions
|
@ -348,7 +348,8 @@
|
|||
("https://api.telegram.org/bot" . $TelegramTokenId . "/sendMessage") \
|
||||
http-data=("chat_id=" . ($Message->"chatid") . \
|
||||
"&disable_notification=" . ($Message->"silent") . \
|
||||
"&parse_mode=" . ($Message->"parsemode") . "&text=" . ($Message->"text"));
|
||||
"&disable_web_page_preview=true&parse_mode=" . ($Message->"parsemode") . \
|
||||
"&text=" . ($Message->"text"));
|
||||
:set ($TelegramQueue->$Id);
|
||||
} on-error={
|
||||
$LogPrintExit debug ("Sending queued Telegram message failed.") false;
|
||||
|
|
Loading…
Reference in a new issue