Expand description
The messaging bridges (Discord, Telegram, Slack, WhatsApp) started once the settings are
loaded, one function each. Moved out of spawn_background_subsystems without a change in
behaviour.
Functionsยง
- start_
discord_ ๐bridge - Discord messaging bridge โ connects to Discord Gateway if configured. Set messaging:discord:enabled + messaging:discord:token in settings.json to activate.
- start_
messaging_ ๐bridges - start_
slack_ ๐bridge - Slack messaging bridge โ opens a Socket Mode connection if configured. Set messaging:slack:enabled + messaging:slack:bot_token + messaging:slack:app_token in settings.json to activate.
- start_
telegram_ ๐bridge - Telegram messaging bridge โ long-polls getUpdates if configured. Set messaging:telegram:enabled + messaging:telegram:token in settings.json to activate.
- start_
whatsapp_ ๐bridge - WhatsApp Cloud API messaging bridge โ outbound send + inbound webhook receiver. Unlike Discord/Telegram/Slack there is no bridge-managed network connection to open at startup: inbound delivery is passive HTTP (the GET/POST /webhook/whatsapp routes, registered unauthenticated in server/mod.rs โ Meta cannot supply X-AuthKey), reachable only once the operatorโs own tunnel is up and the callback URL is registered in Metaโs App Dashboard, both manual one-time steps this process does not perform (v1 does not manage a tunnel subprocess โ see messaging/whatsapp/mod.rs). Set messaging:whatsapp:enabled + access_token/app_secret/webhook_verify_token in settings.json to activate. See docs/specs/SPEC_MESSAGING_INTEGRATION_WHATSAPP_2026_07_07.md.
- withhold_
bridge_ ๐tokens - Starts every messaging bridge the settings turn on. The tokens in settings.json that the bridges sign in with are never written into an agentโs transcript.