|
|
@@ -207,8 +207,10 @@ class BaseService
|
|
|
foreach ($texts as $index => $item) {
|
|
|
$botMsg = [
|
|
|
'chat_id' => "@{$bettingGroup}",
|
|
|
- 'text' => $item
|
|
|
+ 'text' => $item,
|
|
|
+ 'index'=>$index
|
|
|
];
|
|
|
+
|
|
|
if ($index == 0 && count($keyboard) > 0) {
|
|
|
$botMsg['reply_markup'] = json_encode(['inline_keyboard' => $keyboard]);
|
|
|
}
|