Skip to content

Commit 7f5cb8c

Browse files
committed
Change Webhook URL
1 parent ea094df commit 7f5cb8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routes/telegram.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
Route::post('/api/telegram/{token}', static function (\Longman\TelegramBot\Telegram $bot, $token) {
3+
Route::post('/api/telegram/webhook/{token}', static function (\Longman\TelegramBot\Telegram $bot, $token) {
44
if ($token != config('telegram.bot.api_token')) {
55
abort(400);
66
}

0 commit comments

Comments
 (0)