onRoomMessageReceived property
void Function(ZIM zim, List<ZIMMessage> messageList, ZIMMessageReceivedInfo info, String fromRoomID)?
onRoomMessageReceived
getter/setter pair
The callback for receiving room message.
This callback will be triggered when new message is received in a room.
zim
ZIM instance.
messageList
List of received messages.
info
Receive information about the message event.
fromRoomID
ID of the room where the message was received.
Implementation
static void Function(ZIM zim, List<ZIMMessage> messageList,
ZIMMessageReceivedInfo info, String fromRoomID)? onRoomMessageReceived;