Sfoglia il codice sorgente

取消图片防转发

seven 1 settimana fa
parent
commit
7ce1c5d022
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/Services/BaseService.php

+ 1 - 1
app/Services/BaseService.php

@@ -325,7 +325,7 @@ class BaseService
         if ($image != '') {
             $botMsg['photo'] = InputFile::create($image);
             $botMsg['caption'] = $text;
-            $botMsg['protect_content'] = true;  // 防止转发
+            $botMsg['protect_content'] = false;  // 防止转发
             self::telegram()->sendPhoto($botMsg);
         } else {
             $botMsg['text'] = $text;