Add Telegram Bot webhook integration
This commit is contained in:
@@ -215,5 +215,9 @@ $app->get('/fast/mandiri/{tanggal}', [$fastController, 'mandiri']);
|
||||
$app->post('/site/verify_bri', [$siteController, 'verifyBri']);
|
||||
$app->post('/site/approve/{id_trx}', [$siteController, 'approve']);
|
||||
|
||||
// Telegram Bot Routes
|
||||
$telegramBotController = new \App\Controllers\TelegramBotController();
|
||||
$app->post('/telegram/webhook', [$telegramBotController, 'webhook']);
|
||||
|
||||
// Run app
|
||||
$app->run();
|
||||
|
||||
Reference in New Issue
Block a user