# Telegram Public Channel Export

**Use case:** 

Export up to 10 recent posts from a public Telegram channel for downstream analysis.

## Input

```json
{
  "channels": [
    {
      "channelName": "telegram",
      "startId": 0,
      "limit": 10
    }
  ]
}
```

## Output

```json
{
  "Channel_Handle": {
    "label": "Channel handle",
    "format": "string"
  },
  "Channel_Name": {
    "label": "Channel name",
    "format": "string"
  },
  "Subscribers": {
    "label": "Subscribers",
    "format": "integer"
  },
  "Channel_Description": {
    "label": "Channel description",
    "format": "string"
  },
  "Channel_Photo_Url": {
    "label": "Channel photo URL",
    "format": "string"
  },
  "Channel_Url": {
    "label": "Channel URL",
    "format": "string"
  },
  "Id": {
    "label": "Message ID",
    "format": "integer"
  },
  "Date": {
    "label": "Post date",
    "format": "string"
  },
  "Url": {
    "label": "Post URL",
    "format": "string"
  },
  "Body": {
    "label": "Post body",
    "format": "string"
  },
  "Body_Length": {
    "label": "Body length",
    "format": "integer"
  },
  "Mentions": {
    "label": "Mentions",
    "format": "array"
  },
  "Hashtags": {
    "label": "Hashtags",
    "format": "array"
  },
  "Outlinks": {
    "label": "Outlinks",
    "format": "array"
  },
  "Outlinks_Count": {
    "label": "Outlinks count",
    "format": "integer"
  },
  "LinkPreview_Url": {
    "label": "Preview URL",
    "format": "string"
  },
  "LinkPreview_SiteName": {
    "label": "Preview site name",
    "format": "string"
  },
  "LinkPreview_Title": {
    "label": "Preview title",
    "format": "string"
  },
  "LinkPreview_Description": {
    "label": "Preview description",
    "format": "string"
  },
  "LinkPreview_Image_Url": {
    "label": "Preview image URL",
    "format": "string"
  },
  "Hash": {
    "label": "Deduplication hash",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Telegram Channel Scraper Actor is ready to run with the inputs already set for "Telegram Public Channel Export". [Sign up or log in](https://console.apify.com/create-task-from-example/P6tFAWTN3AFivMHFr) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Telegram Public Channel Export" task

The Telegram Channel Scraper Actor will start running based on the input automatically. You can also change all the input fields, like telegram channels, to match your specific use case.

### 3. Receive the "Telegram Public Channel Export" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as channel handle, channel name, subscribers, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Telegram Public Channel Export" task via API](https://apify.com/thescrapelab/apify-telegram-scraper.md).

## About this Actor

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


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

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

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
