# Telegram channel posts

Fetch a public channel's recent posts (text, photos, videos, forwards, replies, link previews, reactions, views, time). Needs channel. Served by TikHub.

Purpose:
- Fetch a public channel's recent posts (text, photos, videos, forwards, replies, link previews, reactions, views, time).

Parameters:
- channel: Channel username (required).
- limit: Number of posts (1-100, default 20; when >20 the server automatically pages toward older posts).
- before: Pagination cursor — fetch older posts, pass `data.pagination.before_cursor` from the previous page.
- after: Pagination cursor — fetch newer posts, pass `data.pagination.after_cursor` from the previous page.

Return:
- `channel_info` (same structure as fetch_channel_info), `messages` array and a `pagination` cursor object.
- Media direct links (cdn4.telesco.pe) are signed and expire — download / re-host them promptly.

- Tool ID: `tikhub/telegram-web-fetch-channel-posts`
- Name in the catalog: Telegram, Get channel posts (paginated)
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [Telegram posts](/tools/telegram/posts.md)
- Price: $0.001 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.001
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.001; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "channel": {
      "type": "string",
      "description": "频道用户名/Channel username",
      "title": "Channel"
    },
    "limit": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1,
      "description": "返回条数/Number of posts",
      "default": 20,
      "title": "Limit"
    },
    "before": {
      "type": "integer",
      "description": "取更老：传上页 before_cursor/Older than this id",
      "default": 0,
      "title": "Before"
    },
    "after": {
      "type": "integer",
      "description": "取更新：传上页 after_cursor/Newer than this id",
      "default": 0,
      "title": "After"
    }
  },
  "required": [
    "channel"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "tikhub/telegram-web-fetch-channel-posts",
  "input": {
    "channel": "durov",
    "limit": 20,
    "before": 0,
    "after": 0
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/Telegram-Web-API/fetch_channel_posts_api_v1_telegram_web_fetch_channel_posts_get)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/telegram-web-fetch-channel-posts) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/telegram-web-fetch-channel-posts) · [Agent index](/llms.txt)
