onMessageDelivered property

void Function(ChatwootMessage, String)? onMessageDelivered
getter/setter pair

Triggered when a message created event/message ChatwootEventMessageType.message_created is received and message belongs to current user after connecting to the chatwoot websocket. See ChatwootRepository.listenForEvents

Implementation

void Function(ChatwootMessage, String)? onMessageDelivered;