# Telegram中文关键词搜索：人工智能频道讨论

**Use case:** 

用中文关键词“人工智能”搜索公开Telegram频道近30天的帖子，每个频道最多2条，导出原文、发布时间、频道和链接。可替换为任何中文关键词，并用Skip these channels排除不需要的频道。

## Input

```json
{
  "collectionMode": "keyword",
  "keywords": [
    "人工智能"
  ],
  "channels": [],
  "maxResults": 10,
  "afterDate": "30 days",
  "countryCode": "auto",
  "languageCode": "zh",
  "discoveryCoverage": "standard",
  "maxResultsPerChannel": 2,
  "spreadAcrossChannels": true,
  "maxUnproductiveDiscoveryPages": 2,
  "searchWithinChannels": true,
  "keywordMatchScope": "postText",
  "excludeSignatureOnlyMatches": true,
  "includeContextPosts": false,
  "includeKeywords": [],
  "excludeKeywords": [],
  "regexFilters": [],
  "excludeForwards": false,
  "mediaFilter": "any",
  "postLanguages": [],
  "excludeChannels": [
    "linuxdo_tg",
    "hodonote",
    "sharebooks4you",
    "magazinesclubnew"
  ],
  "sourcePriority": "channelsFirst",
  "downloadMedia": false
}
```

## Output

```json
{
  "messageUrl": {
    "label": "Post URL",
    "format": "string"
  },
  "channelUsername": {
    "label": "Channel username",
    "format": "string"
  },
  "channelName": {
    "label": "Channel name",
    "format": "string"
  },
  "channelUrl": {
    "label": "Channel URL",
    "format": "string"
  },
  "messageId": {
    "label": "Message id",
    "format": "string"
  },
  "publishedAt": {
    "label": "Published",
    "format": "string"
  },
  "text": {
    "label": "Post text",
    "format": "string"
  },
  "views": {
    "label": "Views",
    "format": "string"
  },
  "reactions": {
    "label": "Reactions",
    "format": "array"
  },
  "media": {
    "label": "Media",
    "format": "array"
  },
  "matchedKeywords": {
    "label": "Matched keywords",
    "format": "array"
  },
  "matchedTextKeywords": {
    "label": "Keywords in post text",
    "format": "array"
  },
  "matchedChannelKeywords": {
    "label": "Keywords in channel title",
    "format": "array"
  },
  "matchType": {
    "label": "Match type",
    "format": "string"
  },
  "discoveredBy": {
    "label": "Collection source",
    "format": "string"
  },
  "scrapedAt": {
    "label": "Collected",
    "format": "string"
  }
}
```

## How it works

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

The Telegram Keyword Search Scraper | Brand Mentions Actor is ready to run with the inputs already set for "Telegram中文关键词搜索：人工智能频道讨论". [Sign up or log in](https://console.apify.com/create-task-from-example/LgOJAkJxp9AcHuOAV) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Telegram中文关键词搜索：人工智能频道讨论" task

The Telegram Keyword Search Scraper | Brand Mentions Actor will start running based on the input automatically. You can also change all the input fields, like what do you want to collect?, keywords to find, and more, to match your specific use case.

### 3. Receive the "Telegram中文关键词搜索：人工智能频道讨论" 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 post url, channel username, channel name, 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中文关键词搜索：人工智能频道讨论" task via API](https://apify.com/monkey.d.scraping/telegram-keyword-search-channel-scraper.md).

## FAQ

### 可以换成其他中文关键词吗？

可以。在Keywords to find中填写中文关键词，例如品牌名、产品名或话题，每行一个；用Published on or after设置时间范围，例如7 days。

### 这个示例要花多少钱？

每条帖子0.001美元（每1,000条1美元），每个已验证的关键词搜索页面0.005美元，每次运行启动费0.00005美元，已含平台用量。验证运行从4个搜索页面返回7条帖子，费用0.02705美元。单次运行上限0.05美元。

### Skip these channels有什么用？

填写不想出现在结果中的频道用户名，每行一个。搜索时会跳过这些频道，让结果集中在你关注的来源。

### 采集到的内容会被翻译吗？

不会。帖子保持原始语言（简体或繁体中文）；languageCode只影响搜索排序，不会翻译关键词或帖子。

### 需要Telegram账号吗？可以自动化吗？

不需要Telegram账号、手机号或API密钥。可以。支持Apify API、Python和Node.js客户端，以及n8n、Make、Zapier；也可以通过Apify MCP服务器作为AI智能体的工具使用。

## About this Actor

This example demonstrates how to use [Telegram Keyword Search Scraper | Brand Mentions](https://apify.com/monkey.d.scraping/telegram-keyword-search-channel-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/monkey.d.scraping/telegram-keyword-search-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/monkey.d.scraping/telegram-keyword-search-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`).
