> For the complete documentation index, see [llms.txt](https://tg-qisi-tae.gitbook.io/tg.qisi_tae-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tg-qisi-tae.gitbook.io/tg.qisi_tae-docs/12-sui-ji-qun-fa.md).

# 12 随机群发

从自有目标或平台群库随机领取公开群，完成加群、发送、回读和退出。

随机群发适合一次性触达。发送完成后自动退出本任务新加入的群；需要长期保留，请先使用 **批量加群**，再到 **群发营销** 发送。

![随机群发任务设置](https://3113701068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3h2NgAnxHRZdWHkoarUV%2Fuploads%2FI2mIdNjWqwKeSmWn9Jbl%2F05-random-broadcast.jpg?alt=media)

{% hint style="info" %}
页面顶部实时显示平台群库当前可用公开群数量。账号在任务开始前已经加入的群不会被退出。
{% endhint %}

## 群来源

* **我导入的群**：每行一个公开用户名、公开链接或邀请链接，重复项自动合并。
* **平台群库**：由系统随机分配可用公开群。
* 两个来源同时勾选时，优先处理我导入的群，完成后再领取平台群库。
* 邀请链接、频道或暂时无法访问的目标会按当前任务规则处理，并在日志中记录结果。

## 发送方式

普通账号发送只读取普通广告模板；访客机器人和内联机器人只读取 Bot 广告模板；频道消息转发使用指定频道消息。模板随机/轮询与机器人随机/轮询相互独立。

## 运行过程

1. 选择账号分类、发送方式和模板。
2. 选择群来源并完成预检。
3. 账号领取目标、加入群并等待必要的审批或验证。
4. 检查发言权限后发送并回读。
5. 成功处理后退出本任务新加入的群。
6. 日志保存账号、群来源、模板、实际 Bot、发送结果、退出结果和失败原因。

Bot失效时，系统会先绑定下一个可用Bot，再重新生成触发内容，不会继续@已经失效的Bot。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://tg-qisi-tae.gitbook.io/tg.qisi_tae-docs/12-sui-ji-qun-fa.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
