发送群消息
send_group_msgSend a message to a designated QQ group, supporting plain text or rich content like images, emoji, and @mentions via OneBot message segments.
Instructions
向指定群发送一条消息。message 可以是纯文本字符串,或 OneBot 消息段数组。要发图片用 [{type:'image',data:{file:'<本地路径或http(s)链接>'}}];QQ表情用 {type:'face',data:{id:'<表情id>'}};@人用 {type:'at',data:{qq:'<qq或all>'}}。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | 消息内容:纯文本或消息段数组 | |
| group_id | Yes | 目标群号 | |
| auto_escape | No | 消息内容是否作为纯文本发送(不解析CQ码) |