seven 1 주 전
부모
커밋
6ec8cde490
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/Services/BaseService.php

+ 1 - 0
app/Services/BaseService.php

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