Channel Route Config • AI Agent SDK
ChannelRouteConfig: Configuration for routing channel messages to agents.
ChannelRouteConfig
Defined in the config module.
AI Agent
Configuration for routing channel messages to agents.
Attributes: channel_type: Platform name (telegram, discord, slack, etc.) token_env: Environment variable name for the channel token app_token_env: Optional env var for app token (Slack Socket Mode) routes: Mapping of context → agent_id Keys: “dm”, “group”, “channel”, “default” Values: agent ID strings enabled: Whether this channel is enabled metadata: Additional channel-specific configuration
Properties
strNo description available.
strNo description available.
Optional[str]No description available.
Dict[str, str]No description available.
boolNo description available.
Dict[str, Any]No description available.
Methods
Internal & Generic Methods
- from_dict: Create from dictionary.
- to_dict: Convert to dictionary.
Source
View on GitHubpraisonaiagents/gateway/config.py at line 1413