This commit is contained in:
Lizandro Guarnizo
2026-05-16 21:54:17 -05:00
parent 65f35fbc51
commit 4b2003c752
7 changed files with 179 additions and 5 deletions
+1
View File
@@ -51,4 +51,5 @@ func PortalRoutes(app fiber.Router) {
// Telegram: vinculación guiada
portal.Post("/mi-perfil/telegram-init", controllers.PortalTelegramInit)
portal.Get("/mi-perfil/telegram-status", controllers.PortalTelegramStatus)
portal.Post("/mi-perfil/telegram-validar", controllers.PortalTelegramValidar)
}
+2
View File
@@ -224,6 +224,8 @@ func UserRoutes(app fiber.Router) {
protected.Post("/telegram/:id/test", controllers.TestTelegramConfig)
protected.Post("/telegram/send", controllers.SendTelegramNotification)
protected.Get("/telegram/logs", controllers.GetTelegramLogs)
protected.Post("/telegram/:id/set-portal-webhook", controllers.SetPortalWebhook)
protected.Get("/telegram/:id/webhook-info", controllers.GetPortalWebhookInfo)
// ─── Portal de Clientes ────────────────────────────────────────────────────
protected.Get("/proyectos", middlewares.MenuMiddleware, controllers.ProyectosIndex)