Ken 2 өдөр өмнө
parent
commit
e49c384e70

+ 0 - 5
app/Services/KeyboardService.php

@@ -251,11 +251,6 @@ class KeyboardService extends BaseService
                     foreach ($item as $item1) {
                         if(static::isValidURL($item1['url'])){
                             $t[] = $item1;
-                        }else{
-                            $t[] = [
-                                'text' => $item1['text'],
-                                'callback_data' => $item1['url']
-                            ];
                         }
                     }
                     if (!empty($t)) $newKeyboard[] = $t;