Back to Telegram
TikHub·Telegram
Telegram Web: Get channel posts (paginated)
/api/v1/telegram/web/fetch_channel_postssync$0.0015 / callFetch a public channel's recent posts (text, photos, videos, forwards, replies, link previews, reactions, views, time). (TikHub · Telegram Web)
Input
| Field | Type | Required | Description |
|---|---|---|---|
| channel | string | yes | Channel username |
| limit | integer | — | Number of posts (default 20) |
| before | integer | — | Older than this id (default 0) |
| after | integer | — | Newer than this id (default 0) |
Run it
curl -s https://sooma.dev/v1/run \
-H "Authorization: Bearer $SOOMA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"provider":"tikhub","endpoint":"/api/v1/telegram/web/fetch_channel_posts","input":{}}'
Or ask your agent: it will call inspect for this schema and run it over MCP.