send_private_msg
Send a private QQ message to a specific user or friend, supporting plain text or CQ codes for images, faces, and other rich content.
Instructions
向指定好友或用户发送私聊消息 (OneBot 11: send_private_msg)。 支持纯文本、CQ 码 (如 [CQ:image,file=xxx] / [CQ:face,id=14])。 :param user_id: 对方 QQ 号 :param message: 要发送的消息内容 (文本或 CQ 码字符串) :param auto_escape: 是否作为纯文本发送 (不解析 CQ 码),默认 False
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | 要发送的消息内容 (文本或 CQ 码字符串) | |
| user_id | Yes | 对方 QQ 号 | |
| auto_escape | No | 是否作为纯文本发送 (不解析 CQ 码),默认 False |