# Telegram Media Metadata Export

**Use case:** 

Export media type, file details, post text, dates, views, and source links from a public Telegram post.

## Input

```json
{
  "targets": [
    "https://t.me/telegram/83"
  ],
  "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.