Hasen Suadik
Hasen Suadik
Can You show me the code used for retrieve call back data?
The problem is you write your query code customcommand. Custom command run when there is a command otherwise it can When the keyboard is pressed customcommand not executed because keyboard...
in your route web.php ``` Route::post('/bot', function () { $telegram =Telegram::commandsHandler(true); if(!$telegram->isType('Command')){ //your new class called in here } return 'ok'; });``
commandhandler method return update object if there is no command
Pass true for command handler