# Telegram Media Date Filter

**Use case:** 

Keep public Telegram channel media from posts in an inclusive date range. The results open in an Apify dataset.

## Input

```json
{
  "targets": [
    "https://t.me/s/telegram"
  ],
  "maxPostsPerChannel": 100,
  "maxMediaItems": 100,
  "mediaTypes": [
    "all"
  ],
  "startDate": "2026-01-01",
  "endDate": "2026-06-30"
}
```

## 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.