# Telegram Channel Full Media Archive Export

**Use case:** 

Store every attachment type a public channel posts — photos, video, files — alongside 55 structured message fields per post.

## Input

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

## Output

```json
{
  "chat_id": {
    "label": "Chat ID",
    "format": "integer"
  },
  "chat_username": {
    "label": "Chat Username",
    "format": "string"
  },
  "chat_title": {
    "label": "Chat Title",
    "format": "string"
  },
  "chat_type": {
    "label": "Chat Type",
    "format": "string"
  },
  "chat_description": {
    "label": "Chat Description",
    "format": "string"
  },
  "chat_member_count": {
    "label": "Chat Member Count",
    "format": "integer"
  },
  "id": {
    "label": "Message ID",
    "format": "integer"
  },
  "source_url": {
    "label": "Source URL",
    "format": "string"
  },
  "type": {
    "label": "Type",
    "format": "string"
  },
  "date": {
    "label": "Date",
    "format": "string"
  },
  "edit_date": {
    "label": "Edit Date",
    "format": "string"
  },
  "text": {
    "label": "Text",
    "format": "string"
  },
  "sender": {
    "label": "Sender",
    "format": "string"
  },
  "sender_id": {
    "label": "Sender ID",
    "format": "integer"
  },
  "sender_username": {
    "label": "Sender Username",
    "format": "string"
  },
  "sender_name": {
    "label": "Sender Name",
    "format": "string"
  },
  "sender_flags": {
    "label": "Sender Flags",
    "format": "array"
  },
  "sender_rank": {
    "label": "Sender Rank",
    "format": "string"
  },
  "sender_boost_count": {
    "label": "Sender Boost Count",
    "format": "integer"
  },
  "topic_name": {
    "label": "Topic Name",
    "format": "string"
  },
  "reply_to": {
    "label": "Reply To",
    "format": "integer"
  },
  "thread_id": {
    "label": "Thread ID",
    "format": "integer"
  },
  "reply_quote": {
    "label": "Reply Quote",
    "format": "string"
  },
  "album_id": {
    "label": "Album ID",
    "format": "integer"
  },
  "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"
  },
  "urls": {
    "label": "URLs",
    "format": "array"
  },
  "hashtags": {
    "label": "Hashtags",
    "format": "array"
  },
  "media_type": {
    "label": "Media Type",
    "format": "string"
  },
  "media_name": {
    "label": "Media Name",
    "format": "string"
  },
  "media_size": {
    "label": "Media Size",
    "format": "integer"
  },
  "media_duration": {
    "label": "Media Duration",
    "format": "number"
  },
  "media_mime_type": {
    "label": "Media MIME Type",
    "format": "string"
  },
  "media_extension": {
    "label": "Media Extension",
    "format": "string"
  },
  "media_width": {
    "label": "Media Width",
    "format": "integer"
  },
  "media_height": {
    "label": "Media Height",
    "format": "integer"
  },
  "media_emoji": {
    "label": "Media Emoji",
    "format": "string"
  },
  "media_streamable": {
    "label": "Media Streamable",
    "format": "boolean"
  },
  "media_round": {
    "label": "Round Video",
    "format": "boolean"
  },
  "media_has_stickers": {
    "label": "Media Has Stickers",
    "format": "boolean"
  },
  "media_url": {
    "label": "Media URL",
    "format": "string"
  },
  "link_preview": {
    "label": "Link Preview",
    "format": "object"
  },
  "poll": {
    "label": "Poll",
    "format": "object"
  },
  "location": {
    "label": "Location",
    "format": "object"
  },
  "forward_info": {
    "label": "Forward Info",
    "format": "object"
  },
  "via_bot_id": {
    "label": "Via Bot ID",
    "format": "integer"
  },
  "restriction_reasons": {
    "label": "Restriction Reasons",
    "format": "array"
  },
  "service_type": {
    "label": "Service Type",
    "format": "string"
  },
  "service_info": {
    "label": "Service Info",
    "format": "string"
  },
  "silent": {
    "label": "Silent",
    "format": "boolean"
  },
  "pinned": {
    "label": "Pinned",
    "format": "boolean"
  },
  "processor": {
    "label": "Processor",
    "format": "string"
  },
  "processed_at": {
    "label": "Processed At",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Telegram Chat Scraper](https://apify.com/agentx/telegram-chat-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/agentx/telegram-chat-scraper) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/agentx/telegram-chat-scraper.md

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).
