# Export messages from any Telegram channel

**Use case:** 

Export public Telegram channel messages with text, dates, and media links, filtered from a start date, as one structured dataset.

## Input

```json
{
  "telegram_url": "https://t.me/aipost",
  "download_medias": "text",
  "max_results": 100
}
```

## Output

```json
{
  "media_url": {
    "label": "Media URL",
    "format": "string"
  },
  "text": {
    "label": "Message Text",
    "format": "string"
  },
  "date": {
    "label": "Message Date",
    "format": "string"
  },
  "sender": {
    "label": "Sender",
    "format": "string"
  },
  "view_count": {
    "label": "View Count",
    "format": "integer"
  },
  "reply_count": {
    "label": "Reply Count",
    "format": "integer"
  },
  "forward_count": {
    "label": "Forward Count",
    "format": "integer"
  },
  "reactions": {
    "label": "Reactions",
    "format": "object"
  },
  "pinned": {
    "label": "Pinned Status",
    "format": "boolean"
  },
  "topic_name": {
    "label": "Topic Name",
    "format": "string"
  },
  "edit_date": {
    "label": "Edit Date",
    "format": "string"
  },
  "urls": {
    "label": "URLs",
    "format": "array"
  },
  "hashtags": {
    "label": "Hashtags",
    "format": "array"
  },
  "reply_to": {
    "label": "Reply To Message ID",
    "format": "integer"
  },
  "forward_info": {
    "label": "Forward Information",
    "format": "object"
  },
  "album_id": {
    "label": "Album ID",
    "format": "integer"
  },
  "id": {
    "label": "Message ID",
    "format": "integer"
  },
  "type": {
    "label": "Message Type",
    "format": "string"
  },
  "service_type": {
    "label": "Service Type",
    "format": "string"
  },
  "service_info": {
    "label": "Service Information",
    "format": "string"
  },
  "silent": {
    "label": "Silent Message",
    "format": "boolean"
  },
  "processor": {
    "label": "Processor",
    "format": "string"
  },
  "processed_at": {
    "label": "Processed At",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Telegram Channel Message](https://apify.com/truefetch/telegram-channel-message) with a specific input configuration. Visit the [Actor detail page](https://apify.com/truefetch/telegram-channel-message) to learn more, explore other use cases, and run it yourself.