# Telegram

A public Telegram channel's latest messages — text, timestamps, and view counts.

- Method: `GET`
- Path: `/v1/social/telegram/channel`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `channel` | string | required | Public channel username, e.g. `durov`. |
| `max_age` | integer (seconds) | optional | Ask for data no older than this. Clamped to the product's own floor, so it can narrow the window but never force a refresh on every call. |

**Example request**

```bash
curl https://api.diraz.ae/v1/social/telegram/channel \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "channel": "durov",
    "title": "Du rov's Channel",
    "messages": [
      {
        "id": "durov/512",
        "text": "Freedom of speech matters.",
        "posted_at": "2026-08-22T09:30:00+00:00",
        "views": 245000
      }
    ]
  },
  "meta": {
    "request_id": "req_7Q2fK4mZ",
    "as_of": "2026-08-23T12:30:00.000Z",
    "age_seconds": 42,
    "next_update_at": "2026-08-23T12:35:00.000Z"
  }
}
```

**MCP**: callable from any AI agent via `call_api` with endpoint `telegram-channel` — https://mcp.diraz.ae/mcp