seven 1 mese fa
parent
commit
657805134a
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      app/Services/BaseService.php

+ 1 - 0
app/Services/BaseService.php

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