# Telegram Media File Saver

**Use case:** 

Save copies of found public Telegram media files in Apify storage. The results include saved file links in an Apify dataset.

## Input

```json
{
  "targets": [
    "https://t.me/s/telegram"
  ],
  "maxPostsPerChannel": 100,
  "maxMediaItems": 100,
  "mediaTypes": [
    "all"
  ]
}
```

## Output

```json
{
  "thumbnailUrl": {
    "label": "Thumbnail URL",
    "format": "string"
  },
  "mediaType": {
    "label": "Media type",
    "format": "string"
  },
  "mediaUrl": {
    "label": "Media URL",
    "format": "string"
  },
  "postUrl": {
    "label": "Post URL",
    "format": "string"
  },
  "channelHandle": {
    "label": "Channel handle",
    "format": "string"
  },
  "authorName": {
    "label": "Display name",
    "format": "string"
  },
  "postDate": {
    "label": "Post date",
    "format": "string"
  },
  "viewsText": {
    "label": "Views",
    "format": "string"
  },
  "position": {
    "label": "Media position",
    "format": "integer"
  }
}
```

## About this Actor

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