> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# QQ发消息

注：使用前请先打开QQ本次测试QQ版本如下

<img src="https://mintcdn.com/bazhuayu-rpa-docs/3qf5PG9x-yPm6B-I/helpcenter/commands/custom-commands/ccTJLCKF/images/wCUsunWh-01.png?fit=max&auto=format&n=3qf5PG9x-yPm6B-I&q=85&s=f8fac24457e67e7d5ec4483021937bb9" alt="image" width="839" height="427" data-path="helpcenter/commands/custom-commands/ccTJLCKF/images/wCUsunWh-01.png" />

【目前只支持版本: 9.9.23-42430 (64位)】

界面模式设置为【效率模式】

该指令实现了对QQ联系人或群组发送消息的功能

<img src="https://mintcdn.com/bazhuayu-rpa-docs/3qf5PG9x-yPm6B-I/helpcenter/commands/custom-commands/ccTJLCKF/images/wCUsunWh-02.png?fit=max&auto=format&n=3qf5PG9x-yPm6B-I&q=85&s=52a74e053bb01606aade786d4a950a8b" alt="image" width="668" height="444" data-path="helpcenter/commands/custom-commands/ccTJLCKF/images/wCUsunWh-02.png" />

### 指令输入

<strong>消息接收者QQ号/群号: </strong> 填写qq号或者QQ群号

<strong>类型：</strong>选择群组或联系人

<strong>消息类型：</strong>选择文字/文件

<strong>消息内容/文件路径：</strong>发送的消息内容

## 参考案列

### 场景1

<strong>场景描述</strong>

给好友发送一条文字消息

<img src="https://mintcdn.com/bazhuayu-rpa-docs/3qf5PG9x-yPm6B-I/helpcenter/commands/custom-commands/ccTJLCKF/images/wCUsunWh-03.png?fit=max&auto=format&n=3qf5PG9x-yPm6B-I&q=85&s=5097fbdee7c3326bbd88168964a4b69a" alt="image" width="667" height="443" data-path="helpcenter/commands/custom-commands/ccTJLCKF/images/wCUsunWh-03.png" />

### 场景2

<strong>场景描述</strong>

给群聊发送一个文件消息

<img src="https://mintcdn.com/bazhuayu-rpa-docs/3qf5PG9x-yPm6B-I/helpcenter/commands/custom-commands/ccTJLCKF/images/wCUsunWh-04.png?fit=max&auto=format&n=3qf5PG9x-yPm6B-I&q=85&s=89d34f348d0c72e421087b0645481402" alt="image" width="665" height="443" data-path="helpcenter/commands/custom-commands/ccTJLCKF/images/wCUsunWh-04.png" />

<strong>执行结果</strong>

<img src="https://mintcdn.com/bazhuayu-rpa-docs/3qf5PG9x-yPm6B-I/helpcenter/commands/custom-commands/ccTJLCKF/images/wCUsunWh-05.png?fit=max&auto=format&n=3qf5PG9x-yPm6B-I&q=85&s=a931b916f587d12c66d89388215f526b" alt="image" width="641" height="340" data-path="helpcenter/commands/custom-commands/ccTJLCKF/images/wCUsunWh-05.png" />

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
