ChatMultiDeviceEventHandler constructor
- {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
The multi-device event handler.
Param onContactEvent The multi-device event of contact.
Param onGroupEvent The multi-device event of group.
Param onChatThreadEvent The multi-device event of thread.
Param onRemoteMessagesRemoved The multi-device event of historical messages removed from the server.
Param onConversationEvent The multi-device event callback for the operation of a conversation.
Implementation
ChatMultiDeviceEventHandler({
this.onContactEvent,
this.onGroupEvent,
this.onChatThreadEvent,
this.onRemoteMessagesRemoved,
this.onConversationEvent,
});