global-functions: $SendTelegram: disable web page preview

This commit is contained in:
Christian Hesse 2020-11-26 17:32:12 +01:00
parent 6b19cf2578
commit c93d1c4944

View file

@ -825,7 +825,7 @@
/ tool fetch check-certificate=yes-without-crl output=none http-method=post \
("https://api.telegram.org/bot" . $TelegramTokenId . "/sendMessage") \
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={
$LogPrintExit info ("Failed sending telegram notification! Queuing...") false;