Skip to main content
BotMux can route messages between bots based on configurable rules.

Condition Types

TypeDescription
Text matchRegex pattern matching on message text (case-insensitive)
User IDMessages from a specific Telegram user
Chat IDAll messages from a specific chat/group
LLMAI-based routing — describe the rule in natural language

Actions

ActionDescription
ForwardSend message text as a new message via the target bot
CopyForward the original message preserving author attribution via forwardMessage
DropSilently ignore the message

Source-NAT Return Path

Replies to routed messages are automatically sent back through the original source bot to the original chat, maintaining conversational context. Each reply creates a new mapping, enabling ongoing cross-bot dialogs.

Loop Protection

Bot-originated messages are not reverse-routed, preventing infinite routing loops.

Management

Route rules are managed per-bot from the web UI with enable/disable toggle.