Closed pooriajahedi closed 4 years ago
The same as for others frameworks, and need to remove csrf for route with telegram webhook
this is my controller
and this is my route : Route::post('/api/telegram', 'robot\RobotController@webhook');
Is this true ?
Need to add api/telegram to except for csrf
i added this rout to exception. and {TelegramBot\Api\Client} return this object.
bot not return $this->bot;
@YaroslavMolchan please help me.
@pooria-jahedi I don't understand your code, what is it - $bot = $this->bot
?
Just get code from readme and it will work.
Hi sir @YaroslavMolchan How can i use this package for laravel and set webhook ?