# Telegram Channel Media Scraper

**Use case:** 

Scrape public Telegram channel media URLs, posts, timestamps, views, and message metadata into a clean dataset.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://t.me/s/telegram"
    }
  ],
  "maxMessages": 100,
  "downloadFiles": false,
  "mediaTypes": [
    "photo",
    "video",
    "document",
    "audio"
  ]
}
```

## Output

```json
{
  "channelHandle": {
    "label": "Channel"
  },
  "messageId": {
    "label": "Message ID"
  },
  "messageUrl": {
    "label": "Message URL",
    "format": "link"
  },
  "text": {
    "label": "Text"
  },
  "publishedAt": {
    "label": "Published"
  },
  "views": {
    "label": "Views"
  },
  "mediaTypes": {
    "label": "Media types"
  },
  "mediaCount": {
    "label": "Media count"
  },
  "mediaUrls": {
    "label": "Media URLs"
  },
  "downloaded": {
    "label": "Downloaded"
  },
  "skippedReason": {
    "label": "Skipped reason"
  },
  "scrapedAt": {
    "label": "Scraped at"
  }
}
```

## About this Actor

This example demonstrates how to use [Telegram Media Downloader](https://apify.com/automation-lab/telegram-media-downloader) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/telegram-media-downloader) to learn more, explore other use cases, and run it yourself.