Telegram Queries
Search Channel by Type
Fetch specific media types from a Telegram channel
GET
Retrieve specific media message types (links, photos, videos, or documents) from a Telegram channel.
Path Parameters
string
required
The Telegram channel username (e.g.
@durov) or numeric IDstring
required
The media type to fetch. Valid values:
links, photos, videos,
documents.Query Parameters
number
default:"20"
Number of results to return (1-100)
Response
number
Total number of matching messages found
array