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);
             }