telegram_channel_posts
List posts from a public Telegram channel, including text, media thumbnails, reactions, and metadata, with pagination and in-channel search for browsing or finding specific content.
Instructions
List posts from a public Telegram channel. Returns one page of up to 20 posts from a public Telegram channel's web preview (t.me/s/{username}), newest first. Each post has its id, link, text, links found in the text, publish time, edited flag, view count, author signature, forwarded-from and reply references, photo and video thumbnails, link-preview card, and reaction tallies. Page backwards by passing the previous response's next_before as before; has_more is false and next_before is omitted on the last page. Pass query to search inside the channel instead of browsing; search pages use the same before cursor. A search with no matches returns an empty posts list. Views are the preview's abbreviated figures (for example 32.4K) and are approximate above 1,000. Media entries carry thumbnail references only, never playable file URLs. Polls, documents, voice notes and stickers appear as an unsupported media entry. Private channels, groups, bots, user accounts and channels that disabled their web preview are not supported. Telegram's terms restrict using platform content to train AI or machine-learning systems, so results must not be used for that purpose.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search term to look for inside the channel, up to 128 characters | |
| before | No | Return only posts with an id lower than this; use the previous response's next_before. Omit for the newest page | |
| username | Yes | Public channel username, with or without @ or a t.me link |