From c93d1c4944fff937598ec2825869a02030362a9a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 26 Nov 2020 17:32:12 +0100 Subject: global-functions: $SendTelegram: disable web page preview --- global-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global-functions b/global-functions index b0b27c2..a058d69 100644 --- a/global-functions +++ b/global-functions @@ -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; -- cgit v1.2.3-54-g00ecf