Add Telegram Bot webhook integration

This commit is contained in:
mwpn
2026-01-26 09:27:28 +07:00
parent 3f7f6e1be9
commit 44acff2a35
5 changed files with 737 additions and 76 deletions

View File

@@ -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();