onMessagesDeleted property
- @Deprecated('建议在调用接口时直接传入 callback 参数,此回调从 5.4.0 版本开始不推荐使用')
getter/setter pair
ZH
deleteMessages 的接口监听
code接口回调的状态码,0 代表成功,非 0 代表出现异常type会话类型targetId会话 IDchannelId频道 ID,仅支持超级群使用,其他会话类型传 null 即可。messages删除的消息集合 @deprecated 请使用对应接口提供的 callback 获取结果。
EN
deleteMessages Event Listener
codeIndicates the status code of the callback. 0 represents success, while non-zero indicates an exception.typeSpecifies the conversation type.targetIdRepresents the conversation ID.channelIdIndicates the channel ID, only supported for ultra groups. For other conversation types, pass null.messagesRepresents the collection of deleted messages. @deprecated Use the callback provided by the corresponding interface to obtain the result.
Implementation
@Deprecated('建议在调用接口时直接传入 callback 参数,此回调从 5.4.0 版本开始不推荐使用')
Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, List<RCIMIWMessage>? messages)?
onMessagesDeleted;