onMessage property
void Function({required Client client, required Conversation conversation, required Message message})?
onMessage
getter/setter pair
conversation
has a message
.
If message
is new one, the Conversation.lastMessage of conversation
will be updated.
Implementation
void Function({
required Client client,
required Conversation conversation,
required Message message,
})? onMessage;