mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 17:46:06 +00:00
feat(notifications): update Telegram bot support and update settings management
This commit is contained in:
@@ -610,8 +610,7 @@ model NotificationSetting {
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
|
||||
// Telegram webhook
|
||||
telegramBotToken String? // Bot token from @BotFather
|
||||
telegramChatId String? // Chat/group ID to send messages to
|
||||
telegramChatId String? // Chat ID to send messages to (bot token is in TELEGRAM_BOT_TOKEN env var)
|
||||
telegramEnabled Boolean @default(false)
|
||||
|
||||
// Email notifications (uses account email by default)
|
||||
|
||||
Reference in New Issue
Block a user