Ken 1 hafta önce
ebeveyn
işleme
027a68fc53
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      app/Services/BaseService.php

+ 2 - 1
app/Services/BaseService.php

@@ -213,7 +213,8 @@ class BaseService
                 $botMsg['reply_markup'] = json_encode(['inline_keyboard' => $keyboard]);
             }
             if ($index == 0 && !empty($image)) {
-                $botMsg['photo'] = InputFile::create($image);
+//                $botMsg['photo'] = InputFile::create($image);
+                $botMsg['photo'] = $image;
                 $botMsg['caption'] = $item;
                 $botMsg['protect_content'] = true;  // 防止转发
                 $res[] = $botMsg;