Selaa lähdekoodia

~ не показывать превью сайтов

Yuriy Zhilovets 5 vuotta sitten
vanhempi
sitoutus
1d8938a05e
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      telegram.pl

+ 1 - 0
telegram.pl

@@ -320,6 +320,7 @@ sub notify
   my $params = {
     chat_id => $chatid,
     text => $message,
+    disable_web_page_preview => 1,
   };
   
   $params->{parse_mode} = "MarkdownV2" unless $rest->{parse_mode} && $rest->{parse_mode} eq "none";