From 4b945da9078be5f6f236cb4cbb5490fad22f9497 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 18 Feb 2021 23:23:55 +0100 Subject: global-functions: $FlushTelegramQueue: disable web page preview ... just as without queue. --- global-functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/global-functions b/global-functions index 8777c18..d1fcf05 100644 --- a/global-functions +++ b/global-functions @@ -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; -- cgit v1.2.3-70-g09d2