Browse Source

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

Yuriy Zhilovets 5 years ago
parent
commit
1d8938a05e
1 changed files with 1 additions and 0 deletions
  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";