Ken 2 周之前
父節點
當前提交
548d1687b2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Http/Controllers/api/TelegramWebHook.php

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

@@ -696,7 +696,7 @@ class TelegramWebHook extends BaseController
                 $botMsg['protect_content'] = true;  // 防止转发
                 KeyboardService::telegram()->sendPhoto($botMsg);
             } else {
-                $botMsg['text'] = $replyInfo->reply;
+                $botMsg['text'] = lang($replyInfo->reply);
 
                 KeyboardService::telegram()->sendMessage($botMsg);
             }