# 24小时窗口期与24+1 政策解读

## 什么是24小时窗口期与24+1政策？

> 24小时消息发送时间窗：使用标准消息功能时，使用发送 API 的商家和开发者需要在 24 小时内回复用户通过 Messenger 发送的消息。在 24 小时的时间限制过去后，智能助手还可以再发送一条消息。每当用户通过 Messenger 对话接入点中列出的符合条件的操作之一回复商家，这个 24 小时限制都会刷新。这通常称为“24 + 1 政策”。👉 [查看 Facebook 官方说明文档](https://developers.facebook.com/docs/messenger-platform/policy/policy-overview#trigger)

**简而言之，可以理解为：**

1. 主动给用户进行消息发送时（比如，[群发消息](https://bothub.gitbook.io/project/basic-knowledge/push-messages)），一般情况下只能给24小时内&#x6709;**「互动」**&#x7684;人群发送。
2. 超过24小时后，只能补发一条消息。
3. 直到该用户重新与机器人进&#x884C;**「互动」**，24小时窗口期才会重新开始计算。

## 什么样的「互动」可以重置24小时窗口期

#### 1. 用户主动向机器人发送消息

#### 2. 用户点击 Messenger Bot 对话内容的**按钮**来开始新的对话。 按钮包括：

* 回调按钮
* 链接按钮
* 分享按钮
* 登入/登出按钮
* 购买按钮
* 电话按钮

#### 3. 用户通过 Facebook 官方的推广插件开启对话，插件包括

* 聊天插件
* 发送消息插件
* 复选框插件
* Message Us 插件

👉 [查看如何使用](https://bothub.gitbook.io/project/advanced-tool/promotion/promotion-tool)

{% hint style="warning" %}
点击「短链接」并不会重置24小时窗口期。因此，已对话的用户在超过24小时窗口期的情况下第二次点击短链接时，将无法收到任何消息。
{% endhint %}

#### 4. 用户通过点击 Messenger 直达广告里的按钮来开启对话

#### 5.商户通过 Customer Matching API，根据姓名和电话号码匹配来给 Messenger 上的用户发送的消息

## 哪些消息的发送不受24+1政策限制

### 机器人类型

* 新闻媒体类 Bot

  > **新闻媒体：** 此类功能集成的主要目的在于，向用户通知以下类别的最新或重大事件及提供相关信息：体育、金融、商业、房地产、天气、交通、政治、政府、非营利组织、宗教、名人和娱乐等。
* 工作效率类 Bot

  > **工作效率**：此类功能集成的主要目的在于，让用户能够管理日历事件、获得提醒和支付账单等，从而提高个人工作效率。
* 个人信息类追踪 Bot

  > **个人信息追踪：** 此类功能集成让用户能够接收和监控自己在健身、健康、养生和理财等方面的信息。

### 消息类型

* 赞助消息 （[Sponsored Message](https://developers.facebook.com/docs/messenger-platform/discovery/ads/sponsored-messages)）
* [标签化消息](https://bothub.gitbook.io/project/basic-knowledge/content-management/message-tags)

#### 为确保消息能够正常发送，在设置消息发送前请再次确认是否符合 Facebook 的相关政策哦，希望小小的提示可以对你带来帮助。😄


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bothub.gitbook.io/project/faq/platform-policy/24-hour-messaging-window.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
