We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea094df commit 7f5cb8cCopy full SHA for 7f5cb8c
routes/telegram.php
@@ -1,6 +1,6 @@
1
<?php
2
3
-Route::post('/api/telegram/{token}', static function (\Longman\TelegramBot\Telegram $bot, $token) {
+Route::post('/api/telegram/webhook/{token}', static function (\Longman\TelegramBot\Telegram $bot, $token) {
4
if ($token != config('telegram.bot.api_token')) {
5
abort(400);
6
}
0 commit comments