openbird 2.4.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -87,6 +87,34 @@ OpenBird 将飞书 WebSocket 消息标准化为稳定的事件格式:
87
87
  }
88
88
  ```
89
89
 
90
+ `im.thread.reply_count_v1` 示例:
91
+
92
+ ```json
93
+ {
94
+ "type": "im.thread.reply_count_v1",
95
+ "event_id": "evt_123",
96
+ "timestamp": 1712023530000,
97
+ "semantic": {
98
+ "entity": "thread",
99
+ "action": "activity_detected",
100
+ "kind": "state_signal",
101
+ "consumable": false,
102
+ "requires_hydration": "fetch_thread_messages",
103
+ "dedupe_key": "thread:thread_1:reply_count:12",
104
+ "dedupe_strategy": "drop_exact_match",
105
+ "routing_hints": ["thread", "activity"]
106
+ },
107
+ "data": {
108
+ "chatId": "chat_1",
109
+ "threadId": "thread_1",
110
+ "replyCount": 12,
111
+ "updateTime": 1712023530000
112
+ }
113
+ }
114
+ ```
115
+
116
+ 当前仅 `im.thread.reply_count_v1` 会携带 `semantic` 字段。其他 webhook 事件仍保持现有结构。
117
+
90
118
  ### 事件类型
91
119
 
92
120
  | 类型 | 说明 |