|
|
@@ -224,8 +224,6 @@ class BaseService
|
|
|
if (count($keyboard) > 0) {
|
|
|
$botMsg['reply_markup'] = json_encode(['inline_keyboard' => $keyboard]);
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
if (!empty($image)) {
|
|
|
$botMsg['photo'] = InputFile::create($image);
|
|
|
$botMsg['caption'] = $item;
|
|
|
@@ -244,11 +242,10 @@ class BaseService
|
|
|
|
|
|
foreach ($texts as $index => $item) {
|
|
|
if ($index == 0) continue;
|
|
|
- $botMsg = [
|
|
|
+ self::telegram()->sendMessage([
|
|
|
'chat_id' => "@{$bettingGroup}",
|
|
|
'text' => $item,
|
|
|
- ];
|
|
|
- self::telegram()->sendMessage($botMsg);
|
|
|
+ ]);
|
|
|
}
|
|
|
}
|
|
|
|