|
@@ -147,6 +147,7 @@ class BaseService
|
|
|
}
|
|
}
|
|
|
if(!empty($image)){
|
|
if(!empty($image)){
|
|
|
$botMsg['photo'] = InputFile::create($image);
|
|
$botMsg['photo'] = InputFile::create($image);
|
|
|
|
|
+ $botMsg['caption'] = $text;
|
|
|
self::telegram()->sendPhoto($botMsg);
|
|
self::telegram()->sendPhoto($botMsg);
|
|
|
}else{
|
|
}else{
|
|
|
self::telegram()->sendMessage($botMsg);
|
|
self::telegram()->sendMessage($botMsg);
|