Posts of a Telegram channel
telegram_channel_postsA page of a public channel’s posts (20, newest first), or posts matching words.
A public channel’s posts, 20 a page, newest first, each with text (plain and HTML), views, reactions, media (photo, video, voice, document, sticker), poll, link preview, forward origin and reply. Pass pagination.next_cursor as after for older posts. q searches the channel’s posts by words, as Telegram’s own search does (it also matches other forms of a word); a search pages with after too. since/until (YYYY-MM-DD or ISO 8601) drop posts outside the window from the page; pages are in date order, so stop once a page is older than since.
Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"handle": "<handle>"
},
"name": "telegram_channel_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Words to search for inside the channel. | |
| after | No | Cursor: the previous page’s `pagination.next_cursor`. | |
| since | No | Only posts on or after this date (YYYY-MM-DD or ISO 8601). | |
| until | No | Only posts on or before this date (that whole UTC day for YYYY-MM-DD). | |
| handle | Yes | Channel username, with or without the @, or a t.me link. |