mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-21 19:34:41 +02:00
global-functions: $SendTelegram: disable web page preview
This commit is contained in:
parent
6b19cf2578
commit
c93d1c4944
1 changed files with 1 additions and 1 deletions
|
@ -825,7 +825,7 @@
|
||||||
/ tool fetch check-certificate=yes-without-crl output=none http-method=post \
|
/ tool fetch check-certificate=yes-without-crl output=none http-method=post \
|
||||||
("https://api.telegram.org/bot" . $TelegramTokenId . "/sendMessage") \
|
("https://api.telegram.org/bot" . $TelegramTokenId . "/sendMessage") \
|
||||||
http-data=("chat_id=" . $ChatId . "&disable_notification=" . $Silent . \
|
http-data=("chat_id=" . $ChatId . "&disable_notification=" . $Silent . \
|
||||||
"&parse_mode=" . $ParseMode . "&text=" . $Text);
|
"&disable_web_page_preview=true&parse_mode=" . $ParseMode . "&text=" . $Text);
|
||||||
} on-error={
|
} on-error={
|
||||||
$LogPrintExit info ("Failed sending telegram notification! Queuing...") false;
|
$LogPrintExit info ("Failed sending telegram notification! Queuing...") false;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue