mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-07-21 11:24:29 +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 \
|
||||
("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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue