-
Hello, I am new to Laravel and I'm trying to understand how to
Here is my code located in the app/Http/Webhooks/TelegramWebhookController.php
In the config I tried to keep default code,
But it's not responding to any messages, my webhook is created and registered in the Telegram Botfather, domain with https, everything is running, but Postman retuns 404 on POST, my logs at storage/laravel.log it's also empty. I unable to find any code example and it's very to hard to start... |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I see that chat telegraph_chats is filling with accounts I am testing bot from that means that I have settled up everything, but not webhook registration |
Beta Was this translation helpful? Give feedback.
-
Hi, just start by launching |
Beta Was this translation helpful? Give feedback.
-
With @fabio-ivona help I figured the issue:
Now everything is working! Thank you so much for assisting me! |
Beta Was this translation helpful? Give feedback.
With @fabio-ivona help I figured the issue:
use Illuminate\Support\Facades\Log;
Log::debug("webhook recived $request");
use Illuminate\Support\Stringable;
Now everything is working! Thank you so much for assistin…