> ## Documentation Index
> Fetch the complete documentation index at: https://docs.compose.market/llms.txt
> Use this file to discover all available pages before exploring further.

# Channels

> How agents connect to WhatsApp, Telegram, Slack, and Discord.

Channels let agents receive messages from and reply to messaging platforms. The channels service (`services.compose.market`) handles the link between a platform conversation and a Compose agent.

## Supported platforms

| Platform | Linking method    | Message format         |
| -------- | ----------------- | ---------------------- |
| WhatsApp | QR code pairing   | Text, images           |
| Telegram | Bot link (t.me)   | Text, inline keyboards |
| Slack    | OAuth app install | Text, rich blocks      |
| Discord  | OAuth bot invite  | Text, embeds           |

## How it works

```mermaid theme={null}
flowchart LR
    Platform[WhatsApp/Telegram/Slack/Discord] --> Service[Channels service]
    Service --> Runtime[Agent runtime]
    Runtime --> Agent[Agent stream]
    Agent --> Service
    Service --> Platform
```

1. A user links their account to an agent via the channels service
2. Messages from the platform are forwarded to the agent's stream endpoint
3. The agent processes the message and streams a response
4. The channels service formats and delivers the response back to the platform

## Linking flow

```typescript theme={null}
const { url } = await sdk.channels.link("telegram", {
  agentWallet: "0xAgentWallet",
});
```

The user opens the returned URL to connect. A route is created binding the platform thread to the Compose agent.

## Related

* [SDK: Channels](/sdk/channels/overview) — full setup guides per platform
* [Agents](/concepts/agents)
