|
@@ -215,8 +215,7 @@ class BaseService
|
|
|
}
|
|
}
|
|
|
if ($index == 0 && !empty($image)) {
|
|
if ($index == 0 && !empty($image)) {
|
|
|
unset($botMsg['text']);
|
|
unset($botMsg['text']);
|
|
|
-// $botMsg['photo'] = InputFile::create($image);
|
|
|
|
|
- $botMsg['photo'] = $image;
|
|
|
|
|
|
|
+ $botMsg['photo'] = InputFile::create($image);
|
|
|
$botMsg['caption'] = $item;
|
|
$botMsg['caption'] = $item;
|
|
|
$botMsg['protect_content'] = true; // 防止转发
|
|
$botMsg['protect_content'] = true; // 防止转发
|
|
|
$response = self::telegram()->sendPhoto($botMsg);
|
|
$response = self::telegram()->sendPhoto($botMsg);
|