onMessageDelivered property

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

Triggered when a message created event/message RuutEventMessageType.message_created is received and message belongs to current user after connecting to the ruut websocket. See RuutRepository.listenForEvents

Implementation

void Function(RuutMessage, String)? onMessageDelivered;