Create Channel
lyzr_create_channelCreate a channel to route inbound messages from platforms like Telegram or Slack to Lyzr agents. Specify platform, default agent, and routes to handle conversations.
Instructions
Create a channel configuration that routes an inbound messaging platform (e.g. telegram, slack) to Lyzr agents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | Platform-specific config dict (fields validated by the platform's adapter) | |
| platform | Yes | Platform key matching a registered adapter, e.g. telegram, slack | |
| agent_routes | No | Agents accessible through this bot. If omitted, a single 'default' route is auto-created from default_agent_id | |
| default_agent_id | Yes | Agent used when the user has not explicitly switched |