Skip to main content
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 ID
string
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