mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-02 19:55:18 +02:00
feat(gateway): add Slack and Telegram gateway configuration and enablement checks
This commit is contained in:
parent
fc2467be3d
commit
799a83239f
6 changed files with 168 additions and 62 deletions
|
|
@ -17,7 +17,7 @@ REDIS_APP_URL=redis://localhost:6379/0
|
|||
|
||||
# Telegram Gateway
|
||||
# TELEGRAM_WEBHOOK_SECRET must be 1-256 chars and contain only A-Z, a-z, 0-9, _ or -
|
||||
# GATEWAY_TELEGRAM_INTAKE_MODE: webhook for production, longpoll for single-replica self-host fallback, disabled to skip Telegram intake
|
||||
# GATEWAY_TELEGRAM_INTAKE_MODE: `webhook` for production, `longpoll` for single-replica self-host fallback, `disabled` to skip Telegram intake
|
||||
TELEGRAM_SHARED_BOT_TOKEN=
|
||||
TELEGRAM_SHARED_BOT_USERNAME=
|
||||
TELEGRAM_WEBHOOK_SECRET=
|
||||
|
|
@ -25,7 +25,7 @@ GATEWAY_BASE_URL=http://localhost:8000
|
|||
GATEWAY_TELEGRAM_INTAKE_MODE=webhook
|
||||
|
||||
# WhatsApp Gateway
|
||||
# GATEWAY_WHATSAPP_INTAKE_MODE: cloud for Meta Cloud API, baileys for self-hosted bridge, disabled to skip WhatsApp intake
|
||||
# GATEWAY_WHATSAPP_INTAKE_MODE: `cloud` for Meta Cloud API, `baileys` for self-hosted bridge, `disabled` to skip WhatsApp intake
|
||||
GATEWAY_WHATSAPP_INTAKE_MODE=disabled
|
||||
WHATSAPP_SHARED_BUSINESS_TOKEN=
|
||||
WHATSAPP_SHARED_PHONE_NUMBER_ID=
|
||||
|
|
@ -149,6 +149,7 @@ NOTION_REDIRECT_URI=http://localhost:8000/api/v1/auth/notion/connector/callback
|
|||
SLACK_CLIENT_ID=your_slack_client_id_here
|
||||
SLACK_CLIENT_SECRET=your_slack_client_secret_here
|
||||
SLACK_REDIRECT_URI=http://localhost:8000/api/v1/auth/slack/connector/callback
|
||||
GATEWAY_SLACK_ENABLED=FALSE
|
||||
GATEWAY_SLACK_SIGNING_SECRET=your_slack_signing_secret_here
|
||||
GATEWAY_SLACK_REDIRECT_URI=http://localhost:8000/api/v1/gateway/slack/callback
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue