Skip to content

How to register webhook #397

Closed Answered by snake302
snake302 asked this question in Q&A
Aug 3, 2023 · 3 comments · 3 replies
Discussion options

You must be logged in to vote

With @fabio-ivona help I figured the issue:

  1. On my server vendor folder were missing, so I ran composer install / composer update commands
  2. I went to vendor/defstudio/telegraph/src/Controllers/WebhookController.php path and added logging
    use Illuminate\Support\Facades\Log;
    Log::debug("webhook recived $request");
use Illuminate\Support\Facades\Log;

class WebhookController
{
  public function handle(Request $request, string $token): Response
  {
    Log::debug("webhook recived $request");
  1. I figured that my laravel.log was missing 777 write rules and my TelegramWebhookController.php also were was use Illuminate\Support\Stringable;

Now everything is working! Thank you so much for assistin…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@snake302
Comment options

@fabio-ivona
Comment options

@snake302
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by snake302
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants