Back to Telegram
TikHub·Telegram

Telegram Web: Get channel posts (paginated)

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

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

Input
  • channelstringrequired

    Channel username

  • limitinteger

    Number of posts (default 20)

  • beforeinteger

    Older than this id (default 0)

  • afterinteger

    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.