|
@@ -138,7 +138,7 @@ class BaseService
|
|
|
'chat_id' => "@{$bettingGroup}",
|
|
|
'text' => $text
|
|
|
];
|
|
|
- if($keyboard){
|
|
|
+ if(count($keyboard)>0){
|
|
|
$botMsg['reply_markup'] = json_encode(['inline_keyboard' => $keyboard],JSON_UNESCAPED_UNICODE);
|
|
|
}
|
|
|
self::telegram()->sendMessage($botMsg);
|