seven 1 month ago
parent
commit
657805134a
1 changed files with 1 additions and 0 deletions
  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);