Binding Definition
ID of the agent that handles messages matching this binding.
Messaging platform. Must match a configured messaging adapter.Valid values:
discord, slack, telegram, email, twitch, webhookNamed adapter instance for platforms that support multiple instances (Discord, Slack, Telegram, Email, Twitch).If not set, targets the default adapter credentials.
Platform-Specific Filters
Discord
Discord guild (server) ID. Only messages from this guild match this binding.
Discord channel IDs. Only messages from these channels (or threads under these channels) match this binding.If empty, all channels in the guild are allowed.
Require explicit @mention or reply-to-bot for inbound messages in guild channels.
User IDs allowed to DM the bot through this binding. If empty, DMs are ignored for this binding.
Slack
Slack workspace (team) ID. Only messages from this workspace match this binding.
Slack channel IDs. Only messages from these channels match this binding.If empty, all channels in the workspace are allowed.
Slack user IDs allowed to DM the bot through this binding.
Telegram
Telegram chat ID. Only messages from this chat match this binding.
Telegram user IDs allowed to DM the bot through this binding.
Twitch
Twitch channel names (without the # prefix). Only messages from these channels match this binding.
Binding Resolution
Bindings are evaluated in order. The first binding that matches an inbound message determines which agent handles it. If no binding matches, the message is routed to the default agent (the agent withdefault = true).
Examples
Discord Guild Binding
123456789012345678 to the community agent.
Discord Channel-Specific Binding
987654321098765432 to the support agent.
Discord DM Binding
111222333444555666 to DM the bot, routed to the personal agent.
Discord with Mention Requirement
Slack Workspace Binding
T01234567 to the team agent.
Slack Channel-Specific Binding
C01234567 are routed to the support agent.
Telegram Chat Binding
-1001234567890 are routed to the group agent.
Twitch Channel Binding
mystreamer are routed to the stream agent.