seven hace 5 días
padre
commit
0a07a9db68
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Http/Controllers/api/TelegramWebHook.php

+ 1 - 1
app/Http/Controllers/api/TelegramWebHook.php

@@ -541,7 +541,7 @@ class TelegramWebHook extends Controller
             foreach ($buttons as $rowIndex => $row) {
                 if(!empty($row)){
                     foreach ($row as $buttonIndex => $button) {
-                        $keyboard[$rowIndex][$buttonIndex] = $button->text;
+                        $keyboard[$rowIndex][$buttonIndex] = $button['text'];
                     }
                 }