Ken 2 주 전
부모
커밋
9559e297c1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Http/Controllers/api/TelegramWebHook.php

+ 1 - 1
app/Http/Controllers/api/TelegramWebHook.php

@@ -692,7 +692,7 @@ class TelegramWebHook extends BaseController
 
             if ($image != '') {
                 $botMsg['photo'] = InputFile::create($image);
-                $botMsg['caption'] = $replyInfo->reply;
+                $botMsg['caption'] = lang($replyInfo->reply);
                 $botMsg['protect_content'] = true;  // 防止转发
                 KeyboardService::telegram()->sendPhoto($botMsg);
             } else {