feat: add telegram webhook registration
This commit is contained in:
1 parent
dd28f3c0cb
commit
9a1bc6b8dc
4 files changed
+185
-4
No files matched your search
@@ -217,3 +217,13 @@ google:
|
||||
client-secret: ${GOOGLE_OAUTH_CLIENT_SECRET:}
|
||||
redirect-uri: ${GOOGLE_OAUTH_REDIRECT_URI:}
|
||||
frontend-result-url: ${GOOGLE_OAUTH_FRONTEND_RESULT_URL:}
|
||||
|
||||
# Telegram归集审核。Token、Webhook Secret等敏感值只允许通过环境变量或外部配置提供。
|
||||
telegram:
|
||||
enabled: ${TELEGRAM_ENABLED:false}
|
||||
bot-token: ${TELEGRAM_BOT_TOKEN:}
|
||||
audit-chat-id: ${TELEGRAM_AUDIT_CHAT_ID:}
|
||||
webhook-url: ${TELEGRAM_WEBHOOK_URL:}
|
||||
webhook-secret: ${TELEGRAM_WEBHOOK_SECRET:}
|
||||
allowed-user-ids: ${TELEGRAM_ALLOWED_USER_IDS:}
|
||||
push-scan-interval-ms: ${TELEGRAM_PUSH_SCAN_INTERVAL_MS:10000}
|
||||
Reference in new issue
Block a user