bluebubbles

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

BlueBubbles Actions

BlueBubbles操作

Overview

概述

BlueBubbles is OpenClaw’s recommended iMessage integration. Use the
message
tool with
channel: "bluebubbles"
to send messages and manage iMessage conversations: send texts and attachments, react (tapbacks), edit/unsend, reply in threads, and manage group participants/names/icons.
BlueBubbles是OpenClaw推荐的iMessage集成工具。使用带
channel: "bluebubbles"
参数的
message
工具来发送消息和管理iMessage对话:发送文本和附件、添加反应(轻触反馈)、编辑/撤回消息、线程回复,以及管理群聊成员/群名/群图标。

Inputs to collect

需要收集的输入参数

  • target
    (prefer
    chat_guid:...
    ; also
    +15551234567
    in E.164 or
    user@example.com
    )
  • message
    text for send/edit/reply
  • messageId
    for react/edit/unsend/reply
  • Attachment
    path
    for local files, or
    buffer
    +
    filename
    for base64
If the user is vague ("text my mom"), ask for the recipient handle or chat guid and the exact message content.
  • target
    (优先使用
    chat_guid:...
    ;也可使用E.164格式的
    +15551234567
    user@example.com
  • message
    :用于发送/编辑/回复的文本内容
  • messageId
    :用于添加反应/编辑/撤回/回复操作
  • 附件:本地文件使用
    path
    ,或用
    buffer
    +
    filename
    表示base64编码内容
如果用户描述模糊(例如“给我妈妈发消息”),请询问收件人标识或聊天guid,以及具体的消息内容。

Actions

操作说明

Send a message

发送消息

json
{
  "action": "send",
  "channel": "bluebubbles",
  "target": "+15551234567",
  "message": "hello from OpenClaw"
}
json
{
  "action": "send",
  "channel": "bluebubbles",
  "target": "+15551234567",
  "message": "hello from OpenClaw"
}

React (tapback)

添加反应(轻触反馈)

json
{
  "action": "react",
  "channel": "bluebubbles",
  "target": "+15551234567",
  "messageId": "<message-guid>",
  "emoji": "❤️"
}
json
{
  "action": "react",
  "channel": "bluebubbles",
  "target": "+15551234567",
  "messageId": "<message-guid>",
  "emoji": "❤️"
}

Remove a reaction

移除反应

json
{
  "action": "react",
  "channel": "bluebubbles",
  "target": "+15551234567",
  "messageId": "<message-guid>",
  "emoji": "❤️",
  "remove": true
}
json
{
  "action": "react",
  "channel": "bluebubbles",
  "target": "+15551234567",
  "messageId": "<message-guid>",
  "emoji": "❤️",
  "remove": true
}

Edit a previously sent message

编辑已发送的消息

json
{
  "action": "edit",
  "channel": "bluebubbles",
  "target": "+15551234567",
  "messageId": "<message-guid>",
  "message": "updated text"
}
json
{
  "action": "edit",
  "channel": "bluebubbles",
  "target": "+15551234567",
  "messageId": "<message-guid>",
  "message": "updated text"
}

Unsend a message

撤回消息

json
{
  "action": "unsend",
  "channel": "bluebubbles",
  "target": "+15551234567",
  "messageId": "<message-guid>"
}
json
{
  "action": "unsend",
  "channel": "bluebubbles",
  "target": "+15551234567",
  "messageId": "<message-guid>"
}

Reply to a specific message

回复特定消息

json
{
  "action": "reply",
  "channel": "bluebubbles",
  "target": "+15551234567",
  "replyTo": "<message-guid>",
  "message": "replying to that"
}
json
{
  "action": "reply",
  "channel": "bluebubbles",
  "target": "+15551234567",
  "replyTo": "<message-guid>",
  "message": "replying to that"
}

Send an attachment

发送附件

json
{
  "action": "sendAttachment",
  "channel": "bluebubbles",
  "target": "+15551234567",
  "path": "/tmp/photo.jpg",
  "caption": "here you go"
}
json
{
  "action": "sendAttachment",
  "channel": "bluebubbles",
  "target": "+15551234567",
  "path": "/tmp/photo.jpg",
  "caption": "here you go"
}

Send with an iMessage effect

带iMessage特效发送消息

json
{
  "action": "sendWithEffect",
  "channel": "bluebubbles",
  "target": "+15551234567",
  "message": "big news",
  "effect": "balloons"
}
json
{
  "action": "sendWithEffect",
  "channel": "bluebubbles",
  "target": "+15551234567",
  "message": "big news",
  "effect": "balloons"
}

Notes

注意事项

  • Requires gateway config
    channels.bluebubbles
    (serverUrl/password/webhookPath).
  • Prefer
    chat_guid
    targets when you have them (especially for group chats).
  • BlueBubbles supports rich actions, but some are macOS-version dependent (for example, edit may be broken on macOS 26 Tahoe).
  • The gateway may expose both short and full message ids; full ids are more durable across restarts.
  • Developer reference for the underlying plugin lives in
    extensions/bluebubbles/README.md
    .
  • 需要配置网关参数
    channels.bluebubbles
    (serverUrl/password/webhookPath)。
  • 当你拥有
    chat_guid
    时,优先使用它作为目标(尤其是群聊场景)。
  • BlueBubbles支持丰富的操作,但部分功能依赖macOS版本(例如,编辑功能在macOS 26 Tahoe上可能无法正常工作)。
  • 网关可能会显示短消息ID和完整消息ID;完整消息ID在重启后更稳定。
  • 底层插件的开发者参考文档位于
    extensions/bluebubbles/README.md

Ideas to try

可尝试的使用场景

  • React with a tapback to acknowledge a request.
  • Reply in-thread when a user references a specific message.
  • Send a file attachment with a short caption.
  • 添加轻触反馈反应来确认收到请求。
  • 当用户提及特定消息时,使用线程回复。
  • 发送带简短说明的文件附件。