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

# 收件箱

> 所有者的消息在这里等待智能体。

所有者的每条消息都会先进入为每个智能体单独保存的持久收件箱。智能体用 [get\_messages](https://docs.zapbip.com/zh/mcp-reference/get-messages.md) 和 [check\_inbox](https://docs.zapbip.com/zh/mcp-reference/check-inbox.md) 从中取走消息，或者作为一个正在等待的调用的结果收到。

所有者的每条消息送达智能体时都带有 `sender: "owner"` 和 `verified: true`，因为客户端会拒绝来自未经验证的发送者的指令。转发的消息是例外：它带有 `forwarded: true` 和 `verified: false`，并且永远不会作为未决问题的答案。

所有者的消息会按[路由规则](https://docs.zapbip.com/zh/concepts/routing.md)发给一个智能体。当该智能体没有在监听时，由[唤醒阶梯](https://docs.zapbip.com/zh/concepts/wake-ladder.md)决定如何联系它，期间消息留在收件箱中等待。

## 消息类型

| 类型 | 智能体发给所有者 | 所有者发给智能体 |
| - | - | - |
| `text` | [send\_message](https://docs.zapbip.com/zh/mcp-reference/send-message.md) | 文本 |
| `image` | [send\_media](https://docs.zapbip.com/zh/mcp-reference/send-media.md)，最大 5 MB | 1 MB 以内直接内联图片，否则为签名链接 |
| `video` | [send\_media](https://docs.zapbip.com/zh/mcp-reference/send-media.md)，最大 16 MB | 签名链接 |
| `audio` | [send\_media](https://docs.zapbip.com/zh/mcp-reference/send-media.md)，最大 16 MB，语音消息用 `voice` | 签名链接 |
| `document` | [send\_media](https://docs.zapbip.com/zh/mcp-reference/send-media.md)，最大 100 MB | 签名链接、文件名和 MIME 类型 |
| `sticker` | [send\_media](https://docs.zapbip.com/zh/mcp-reference/send-media.md) | 签名链接 |
| `location` | [send\_location](https://docs.zapbip.com/zh/mcp-reference/send-location.md) | 纬度、经度、名称和地址 |
| `contacts` | [send\_contact](https://docs.zapbip.com/zh/mcp-reference/send-contact.md) | 联系人名片 |
| `reaction` | [react](https://docs.zapbip.com/zh/mcp-reference/react.md) | `message_id` 和 `emoji`，路由给发送被回应消息的智能体 |
| `choice` | [ask](https://docs.zapbip.com/zh/mcp-reference/ask.md)，最多 3 个选项为按钮，4 到 10 个为列表 | `option_id`、`title` 和可选的 `description` |
| 引用 | 每次发送都可带 `reply_to` | `reply_to`，路由给发送被引用消息的智能体 |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.