瀏覽代碼

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

Yuriy Zhilovets 5 年之前
父節點
當前提交
1d8938a05e
共有 1 個文件被更改,包括 1 次插入0 次删除
  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";