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 {