onMessageRead property
void Function({DateTime? atDate, String? byClientID, required Client client, required Conversation conversation, String? messageID})?
onMessageRead
getter/setter pair
The sent message(ID is messageID
) that send to conversation
with receipt
option, has been read by the client(ID is toClientID
).
atDate
means when it occurred.
Implementation
void Function({
required Client client,
required Conversation conversation,
String? messageID,
String? byClientID,
DateTime? atDate,
})? onMessageRead;