Back to Telegram
TikHub·Telegram

Telegram Web: Get channel posts (paginated)

/api/v1/telegram/web/fetch_channel_postssync$0.0015 / call

Fetch a public channel's recent posts (text, photos, videos, forwards, replies, link previews, reactions, views, time). (TikHub · Telegram Web)

Input
FieldTypeRequiredDescription
channelstringyesChannel username
limitintegerNumber of posts (default 20)
beforeintegerOlder than this id (default 0)
afterintegerNewer than this id (default 0)

Run it

curl -s https://www.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.