Skip to content

Commit 04b0575

Browse files
committed
feat: onIMMessageUpdate
1 parent b9811c9 commit 04b0575

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

API.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ LeanEngine 中间件会为这些 Hook 函数检查「Hook 签名」,确保调
182182
* `AV.Cloud.onIMMessageReceived`
183183
* `AV.Cloud.onIMReceiversOffline`
184184
* `AV.Cloud.onIMMessageSent`
185+
* `AV.Cloud.onIMMessageUpdate`
185186
* `AV.Cloud.onIMConversationStart`
186187
* `AV.Cloud.onIMConversationStarted`
187188
* `AV.Cloud.onIMConversationAdd`

leanengine.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ export namespace Cloud {
152152
export function onIMMessageReceived(handler: CloudFunction): void;
153153
export function onIMReceiversOffline(handler: CloudFunction): void;
154154
export function onIMMessageSent(handler: CloudFunction): void;
155+
export function onIMMessageUpdate(handler: CloudFunction): void;
155156
export function onIMConversationStart(handler: CloudFunction): void;
156157
export function onIMConversationStarted(handler: CloudFunction): void;
157158
export function onIMConversationAdd(handler: CloudFunction): void;

lib/utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ exports.realtimeHookMapping = {
1717
onIMMessageReceived: '_messageReceived',
1818
onIMReceiversOffline: '_receiversOffline',
1919
onIMMessageSent: '_messageSent',
20+
onIMMessageUpdate: '_messageUpdate',
2021
onIMConversationStart: '_conversationStart',
2122
onIMConversationStarted: '_conversationStarted',
2223
onIMConversationAdd: '_conversationAdd',

0 commit comments

Comments
 (0)