|
|
@@ -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;
|