ChatMultiDeviceEventHandler constructor
ChatMultiDeviceEventHandler({
- void onContactEvent(
- ChatMultiDevicesEvent event,
- String userId,
- String? ext
- void onGroupEvent(
- ChatMultiDevicesEvent event,
- String groupId,
- List<
String> ? userIds
- void onChatThreadEvent(
- ChatMultiDevicesEvent event,
- String chatThreadId,
- List<
String> userIds
- void onRemoteMessagesRemoved()?,
- void onConversationEvent(
- ChatMultiDevicesEvent event,
- String conversationId,
- ChatConversationType type
多设备事件。
Param onContactEvent
多设备联系人事件。
Param onGroupEvent
多设备群组事件。
Param onChatThreadEvent
多设备 Thread 事件。
Param onRemoteMessagesRemoved
多设备漫游消息删除事件。
Param onConversationEvent
多设备单个会话操作事件。
Implementation
ChatMultiDeviceEventHandler({
this.onContactEvent,
this.onGroupEvent,
this.onChatThreadEvent,
this.onRemoteMessagesRemoved,
this.onConversationEvent,
});