Optional
onRecvNewMessage
onRecvNewMessage?: ((message) => void)
Type declaration
-
- (message): void
-
Returns void
Optional
onRecvC2CReadReceipt
onRecvC2CReadReceipt?: ((receiptList) => void)
Type declaration
-
- (receiptList): void
-
Returns void
Optional
onRecvMessageReadReceipts
onRecvMessageReadReceipts?: ((receiptList) => void)
Type declaration
-
- (receiptList): void
-
Returns void
Optional
onRecvMessageRevoked
onRecvMessageRevoked?: ((msgID, operateUser, reason) => void)
Type declaration
-
- (msgID, operateUser, reason): void
-
Parameters
-
msgID: string
-
-
reason: string
Returns void
Optional
onRecvMessageModified
onRecvMessageModified?: ((message) => void)
Type declaration
-
- (message): void
-
Returns void
Optional
onRecvMessageExtensionsChanged
onRecvMessageExtensionsChanged?: ((msgID, extensions) => void)
Type declaration
-
- (msgID, extensions): void
-
Returns void
Optional
onRecvMessageExtensionsDeleted
onRecvMessageExtensionsDeleted?: ((msgID, extensionKeys) => void)
Type declaration
-
- (msgID, extensionKeys): void
-
Parameters
-
msgID: string
-
extensionKeys: string[]
Returns void
Optional
onRecvMessageReactionsChanged
onRecvMessageReactionsChanged?: ((changeInfos) => void)
Type declaration
-
- (changeInfos): void
-
Returns void
Optional
onGroupMessagePinned
onGroupMessagePinned?: ((groupID, message, isPinned, opUser) => void)
Type declaration
-
- (groupID, message, isPinned, opUser): void
-
Parameters
-
groupID: string
-
-
isPinned: Boolean
-
Returns void
(三)高级消息监听器