# API Telegram Channel publications pour ndtv

**Use case:** 

Un exemple prêt à l'emploi qui extrait les publications de Telegram Channel pour ndtv et renvoie des champs normalisés pour chaque ligne.

## Input

```json
{
  "telegram_url": "https://t.me/ndtv",
  "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 Channel Message](https://apify.com/truefetch/telegram-channel-message.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/truefetch/telegram-channel-message.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/truefetch/telegram-channel-message.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`).
