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集成方案。你可以使用
message
工具并指定
channel: "bluebubbles"
来发送消息和管理iMessage会话:支持发送文本和附件、添加表情回应(tapbacks)、编辑/撤回消息、在话题线程中回复,以及管理群组的参与者/群名称/群头像。

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
    表情回应/编辑/撤回/回复操作所需的消息ID
  • 附件参数:本地文件使用
    path
    ,base64格式文件使用
    buffer
    +
    filename
如果用户表述模糊(例如「给我妈妈发消息」),需要询问接收方的联系人标识或聊天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)

添加表情回应(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
    时优先将其作为target参数(尤其针对群聊场景)。
  • 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.
  • 用tapback表情回应确认收到请求。
  • 当用户引用某条特定消息时,在对应线程中回复。
  • 发送带有简短说明的文件附件。