Back to Telegram
TikHub·Telegram
Telegram Web: Search posts in a channel
/api/v1/telegram/web/fetch_channel_searchsync$0.0015 / callSearch posts in a channel by keyword (case-insensitive).. Uses Telegram's server-side search over the full channel history when the MTProto backend is enabled (data.backend = "mtproto"); otherwise falls back to best-effort local filtering over recent history (data.backend = "web"). (TikHub · Telegram Web)
Input
| Field | Type | Required | Description |
|---|---|---|---|
| channel | string | yes | Channel username |
| query | string | yes | Keyword |
| limit | integer | — | Number of hits (default 20) |
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_search","input":{}}'
Or ask your agent: it will call inspect for this schema and run it over MCP.