onReceivePeerMessage property
void Function(ZIM zim, List<ZIMMessage> messageList, String fromUserID)?
onReceivePeerMessage
getter/setter pair
Deprecated since ZIM 2.18.0, please use onPeerMessageReceived instead. The callback for receiving peer-to-peer message.
When receiving peer-to-peer message from other user, you will receive this callback.
zim
ZIM instance.
messageList
List of received messages.
fromUserID
The user ID of the message sender.
Implementation
static void Function(
ZIM zim, List<ZIMMessage> messageList, String fromUserID)?
onReceivePeerMessage;