# Get alerts for new posts in a Telegram channel

**Use case:** 

Watch one public Telegram channel and get only the posts that are new since the last run. The first run saves the latest posts and remembers where it stopped; every later run returns only newer posts, oldest first. No login or phone number needed. Schedule it every few minutes or hours and send new posts to Slack or a webhook. This example follows one tech news channel.

## Input

```json
{
  "channels": [
    "hacker_news_feed"
  ],
  "maxPostsPerChannel": 10,
  "onlyNewPosts": true,
  "monitorName": "single-channel-alerts"
}
```

## Output

```json
{
  "channel": {
    "label": "Channel",
    "format": "text"
  },
  "date": {
    "label": "Date (UTC)",
    "format": "text"
  },
  "text": {
    "label": "Text",
    "format": "text"
  },
  "views": {
    "label": "Views",
    "format": "number"
  },
  "reactionsTotal": {
    "label": "Reactions",
    "format": "number"
  },
  "forwardedFrom": {
    "label": "Forwarded from",
    "format": "text"
  },
  "edited": {
    "label": "Edited",
    "format": "boolean"
  },
  "url": {
    "label": "Post link",
    "format": "link"
  }
}
```

## How it works

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

The Telegram Channel Scraper: Posts, Views, Reactions & Monitor Actor is ready to run with the inputs already set for "Get alerts for new posts in a Telegram channel". [Sign up or log in](https://console.apify.com/create-task-from-example/XWjLTd16rhbgqBpYm) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Get alerts for new posts in a Telegram channel" task

The Telegram Channel Scraper: Posts, Views, Reactions & Monitor Actor will start running based on the input automatically. You can also change all the input fields, like channels, max posts per channel, and more, to match your specific use case.

### 3. Receive the "Get alerts for new posts in a Telegram channel" 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, date (utc), text, 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 "Get alerts for new posts in a Telegram channel" task via API](https://apify.com/webobsidians/telegram-channel-scraper.md).

## FAQ

### How does the Telegram new post alert work?

The Telegram channel new post alerts task remembers the newest post it returned for the channel. The first run returns the latest posts; each later run returns only newer posts, oldest first.

### How do I get a message for every new post?

The Telegram channel new post alerts task runs on an Apify schedule. Duplicate the task, enter your channel, create a schedule such as every 15 minutes, and add a Slack or webhook integration to receive each new post.

### What does monitoring a channel cost?

The Telegram channel new post alerts task costs $1.00 per 1,000 posts plus $0.00005 per run start, with platform usage included. You pay only for new posts: a channel with 5 new posts a day, checked every hour, costs about $0.19 a month.

## About this Actor

This example demonstrates how to use [Telegram Channel Scraper: Posts, Views, Reactions & Monitor](https://apify.com/webobsidians/telegram-channel-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/webobsidians/telegram-channel-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/webobsidians/telegram-channel-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`).
