telegram_channel_posts
Pack: telegram-channels · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/telegram_channel_posts for the schema, then POST the same URL with its arguments for the data.
Recent posts from a public Telegram channel, newest first: post id and link, date, text, view count, and whether it carries photo, video or link media. Source: Telegram public channel web preview. About 20 posts per page; pass before_id (a post id) to page back.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | yes | Channel username, e.g. “durov” |
limit | number | no | Max posts, 1-20 (default 20) |
before_id | number | no | Only posts older than this post id (for paging back) |
Example call
Arguments
{
"channel": "durov",
"limit": 5
}
curl
curl -X POST https://gateway.pipeworx.io/telegram-channels/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"telegram_channel_posts","arguments":{"channel":"durov","limit":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('telegram_channel_posts', {
"channel": "durov",
"limit": 5
});
Response shape
| Field | Type | Description |
|---|---|---|
channel | string | |
count | number | |
next_before_id | number | |
posts | array | |
source | string |
Full JSON Schema
{
"type": "object",
"properties": {
"channel": {
"type": "string"
},
"count": {
"type": "number"
},
"next_before_id": {
"type": "number"
},
"posts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"post_id": {
"type": "number"
},
"url": {
"type": "string"
},
"date": {
"type": "string"
},
"text": {
"type": "string"
},
"views": {
"type": "number"
},
"has_photo": {
"type": "boolean"
},
"has_video": {
"type": "boolean"
},
"has_link_preview": {
"type": "boolean"
},
"forwarded_from": {
"type": "null"
}
},
"additionalProperties": true
}
},
"source": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the telegram-channels pack
{
"mcpServers": {
"telegram-channels": {
"url": "https://gateway.pipeworx.io/telegram-channels/mcp"
}
}
}
See Getting Started for client-specific install steps.