Ken 2 долоо хоног өмнө
parent
commit
9559e297c1

+ 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 {